Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fixup verilog doubleslash test | Zachary Snow | 2022-01-03 | 1 | -0/+2 |
| | | | | | - add generated doubleslash.v to .gitignore - ensure backend verilog can be read again | ||||
* | preprocessor: do not destroy double slash escaped identifiers | Thomas Sailer | 2021-12-15 | 1 | -0/+19 |
The preprocessor currently destroys double slash containing escaped identifiers (for example \a//b ). This is due to next_token trying to convert single line comments (//) into /* */ comments. This then leads to an unintuitive error message like this: ERROR: syntax error, unexpected '*' This patch fixes the error by recognizing escaped identifiers and returning them as single token. It also adds a testcase. |