1
0
mirror of synced 2026-01-23 02:58:29 +00:00
Thomas Sailer 4cd2f03e36 preprocessor: do not destroy double slash escaped identifiers
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.
2021-12-15 18:06:02 -07:00
..
2021-12-10 00:22:37 +01:00
2021-05-20 12:49:51 +02:00
2021-12-10 00:22:37 +01:00
2021-12-10 00:22:37 +01:00
2020-09-21 15:07:02 +02:00
2021-03-29 22:01:57 -07:00
2021-12-10 00:22:37 +01:00
2021-12-10 00:22:37 +01:00
2020-09-21 15:07:02 +02:00