I have a simple rule in my grammar which looks for sequence of whitespaces:
ws: ws|' ';
When bison sees this rule, it complains:
warning: rule useless in parser due to conflicts: ws: ws
Why it is so? Cant I have a simple rule in grammar which looks for a regex?