Replies: 2 comments 1 reply
-
By the way, how to get the current file name when reporting errors? |
Beta Was this translation helpful? Give feedback.
1 reply
-
This isn't something lexy supports natively. You need to record the If you absolutely need the contents to continue parsing, which is an unfortunate situation to be in, you can do that directly in side a scan rule: https://lexy.foonathan.net/reference/dsl/scan/#scan |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How do we handle multiple input files during parsing? For example, when the C/C++ preprocessor encounters the
include
macro, it needs to continue parsing the included file.Beta Was this translation helpful? Give feedback.
All reactions