Re: Tutorial or Article

2016-03-02 Thread Chris verBurg
Hey Stephen, I don't know that we see enough of your code to say for sure what's going on, but my limited guess is that if "if_group" is your top-level pattern, then it'll never understand ELSE because else_group is not referenced anywhere downstream of if_group. If so, what about having the elem

Tutorial or Article

2016-03-02 Thread Tathams
Can anyone suggest something for me to read to learn and understand look ahead and fall back. I am have trouble writing a partial C pre-processor and wish to create a few non-terminals to handle the many different # things that can occur in header files. So if I have a non-terminal to handle