Replies: 1 comment
-
May be you can create a rule for your token, and create a rule
You may need to adapt this, for example maybe it's not ANY but some other rule that you need. But I guess there is a pattern here. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am writing a parser for my shell which needs to do two main things:
"\\n"
needs to be turned into a"\n"
)Is there any way that I could do the second thing here without having to iterate over every parsed char after the whole thing has been parsed?
Beta Was this translation helpful? Give feedback.
All reactions