[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH for Dlang support] d: make enum SymbolKind idiomatic D
From: |
Akim Demaille |
Subject: |
Re: [PATCH for Dlang support] d: make enum SymbolKind idiomatic D |
Date: |
Fri, 2 Oct 2020 06:53:22 +0200 |
Hi Adela and H.S.,
Thanks for your work!
> Le 1 oct. 2020 à 14:55, Adela Vais <adela.vais99@gmail.com> a écrit :
>
> Thank you for the tip!
> I'll see how I can test with the -unittest flag for non-Bison related parts
> inside the repo (like this issue, with GC).
> I'll have to think about how I want to that because I wouldn't want the
> unit tests to end up in the user's code, I want them for internal testing
> only.
There's already %define parse.assert which means "add assertions
about the parser itself", that I use in the test suite to watch
some tricky invariants.
You could add %define parse.test for instance, and enable it in
the test suite.