how to instruct bison that I'm expecting TWO or more terminals
- by Vincenzo
How can I define a rule in BISON that will state that I need two or more terminals. I use it like this and I get a shift/reduce conflict:
word: LETTER | word LETTER;
words: word word | words word;
What's wrong here? And how to correct it?