Replies: 1 comment 1 reply
-
Re the transfer: I think this is a bug in the documentation rather than a discussion question |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently the literals section of the book gives this as a string example:
Is my understanding correct that this will parse
, because the rule isn't atomic?
" USA"
asUSA
, discarding the initialI'm having this issue myself. I'm getting around it by making the rule atomic, but it seems rules can't be atomic & silent, and so the parse tree contains the
"
s, which requires a bit more work downstream.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions