You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we're using flex to generate the lexer. This has all kinds of portability issues on platforms not Unix (#307#260).
To minimize dependencies on the generated code, one option would be to check it into the repository and potentially update only on change.
The current c++ generated flex code however also requires another header to interface, which comes with the particular flex installation. It might be worthwhile investigating to just generate a C lexer, since we have our interfacing c++ wrapper around it anyway. Once that is done, the 'distribute the generated code' might also be easier.
The text was updated successfully, but these errors were encountered:
hzeller
added
rejects-valid syntax
If the parser wrongly rejects syntactically valid code (according to SV-2017).
C++ portability
matters pertaining to C++ toolchain compatibility, or standard compliance
and removed
rejects-valid syntax
If the parser wrongly rejects syntactically valid code (according to SV-2017).
labels
Apr 1, 2021
We're using the C++ wrapper, so this is not one of the problems; they are reentrant.
(Only if you use the C version without requesting reentrance this will be a problem; but not used in this project).
Currently, we're using flex to generate the lexer. This has all kinds of portability issues on platforms not Unix (#307 #260).
To minimize dependencies on the generated code, one option would be to check it into the repository and potentially update only on change.
The current c++ generated flex code however also requires another header to interface, which comes with the particular flex installation. It might be worthwhile investigating to just generate a C lexer, since we have our interfacing c++ wrapper around it anyway. Once that is done, the 'distribute the generated code' might also be easier.
The text was updated successfully, but these errors were encountered: