Skip to content
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.

Bug when saving parser class #90

Open
flip111 opened this issue Oct 21, 2018 · 0 comments
Open

Bug when saving parser class #90

flip111 opened this issue Oct 21, 2018 · 0 comments

Comments

@flip111
Copy link

flip111 commented Oct 21, 2018

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)

flip111 added a commit to flip111/Compiler that referenced this issue Oct 21, 2018
@Hywan Hywan self-assigned this Nov 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants