diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-11-29 15:43:53 +0000 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-11-29 15:43:53 +0000 |
commit | 16dcc88a53467046de3f4cf8fb5249686e760eae (patch) | |
tree | 7566afc6aec0950a7d169079e7517287ff0e4b46 /LICENSE | |
parent | 48d304056aeffbc172fa86ca1fedc418b4b213ff (diff) | |
download | ovm-16dcc88a53467046de3f4cf8fb5249686e760eae.tar.gz ovm-16dcc88a53467046de3f4cf8fb5249686e760eae.tar.bz2 ovm-16dcc88a53467046de3f4cf8fb5249686e760eae.zip |
Refactored preprocessor to preprocess_(use|macro)_blocks and process_presults
We have distinct functions for the use blocks and the macro blocks,
which each generate wholesale new token streams via `token_copy` so we
don't run into weird errors around ownership of the internal strings
of each token.
Furthermore, process_presults now uses the stream index in each
presult to report errors when stuff goes wrong.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions