Closed
Description
As described, the C++ code generated from ANTLR 4.13 uses a string
structure when loading input. However, there is \x00
in the middle of the input in my use case, which will be regarded as a string termination and cause the parsing error. My questions are as follows
- Is there a proper way to solve this?
- if the only way is to override the input stream interface (e.g., use
vector
/bytes
to replacestring
), is there any example I can follow?
Many thanks if you can provide any help.
Metadata
Metadata
Assignees
Labels
No labels