Compiler
Compiler copied to clipboard
Bug when saving parser class
I have the token \ i need to escape it once because pp uses regex so it becomes:
%token token62 \\
when this is written as php class the backslash is only escaped once, like so:
'token62' => '\\\',
it doesn't matter if there are more surrounding characters (i have a few other rules which suffer from the same bug)