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
but maybe problem is more generic and getTargetStringLiteralFromANTLRStringLiteral should take into account all characters from targetCharValueEscape ?
The text was updated successfully, but these errors were encountered:
Steps to reproduce
Generate lexer using PHP target from the following grammar
using ANTLR build from the current
master
branchActual behavior
ANTLR produces invalid PHP code (it's not allowed to use variables as part of the constant expression)
Expected behavior
$
character in PHP Target is escapedPatch proposal
This seems to solve a problem
but maybe problem is more generic and
getTargetStringLiteralFromANTLRStringLiteral
should take into account all characters fromtargetCharValueEscape
?The text was updated successfully, but these errors were encountered: