foonathan / lexy

C++ parsing DSL
https://lexy.foonathan.net
Boost Software License 1.0
991 stars 66 forks source link

Multiple input files #140

Closed liangjs closed 1 year ago

liangjs commented 1 year ago

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.

liangjs commented 1 year ago

By the way, how to get the current file name when reporting errors?