How to fully ignore whitespace #643
DecrepitHuman
started this conversation in
General
Replies: 1 comment 1 reply
-
You want to define what your grammar's implicit whitespace is. e.g.
|
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
-
My grammar does not rely on whitespace, and from the book I am unable to understand how handling whitespace works.
From what I see I think
rule ~ rule
automatically matches whitespace, however I'm getting errors when working from that assumption. The problem:Does not match:
It produces the following error:
I have no need for whitespace, it can simply be ignored. Anybody able to help me out with this?
Beta Was this translation helpful? Give feedback.
All reactions