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
When I analyse my g4 file, an exception is raised : ANT02 error(156): invalid escape sequence \" 。 I don't know how to handle this problem,so I have to delete this '\"'
My full entry is below :
fragment
ESC_SEQ
: '\\' ('b'|'t'|'n'|'f'|'r'|'\"'|'\''|'\\')
| UNICODE_ESC
| OCTAL_ESC
;
The text was updated successfully, but these errors were encountered:
------------------ 原始邮件 ------------------
发件人: "kaby76/Antlr4BuildTasks" ***@***.***>;
发送时间: 2024年3月9日(星期六) 晚上6:44
***@***.***>;
***@***.******@***.***>;
主题: Re: [kaby76/Antlr4BuildTasks] Questions about syntax parsing (Issue #82)
You don't need to "escape" a double quote. So instead of '\"' it should be '"'.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
When I analyse my g4 file, an exception is raised : ANT02 error(156): invalid escape sequence \" 。 I don't know how to handle this problem,so I have to delete this '\"'
My full entry is below :
fragment
ESC_SEQ
: '\\' ('b'|'t'|'n'|'f'|'r'|'\"'|'\''|'\\')
| UNICODE_ESC
| OCTAL_ESC
;
The text was updated successfully, but these errors were encountered: