H. Peter Anvin 7cc9fc4773 stdscan: abstract out the saving/restoring of parser state
The parser state does not just necessarily include the position of the
buffer, but make it possible to maintain additional state.

Furthermore, add an explicit ability to push back a token.

All of this might make it easier at some point in the future to keep
track of horizontal position, although that will require lots of
changes to the preprocessor.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2024-07-24 14:15:35 -07:00
..
2022-01-09 17:34:35 +01:00
2022-01-09 17:34:35 +01:00
2022-01-09 17:34:35 +01:00
2019-08-10 02:28:17 -07:00
2022-01-09 17:34:35 +01:00
2019-08-10 02:28:17 -07:00
2022-11-07 16:49:13 -08:00
2022-12-07 10:24:14 -08:00
2022-01-09 17:34:35 +01:00