You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 replace string), is there any example I can follow?
Many thanks if you can provide any help.
The text was updated successfully, but these errors were encountered:
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 followsvector
/bytes
to replacestring
), is there any example I can follow?Many thanks if you can provide any help.
The text was updated successfully, but these errors were encountered: