Hi,

i am quite new to antlr and dont understand whats wrong with the 
following grammar:

grammar test2;
options{
backtrack=false;
}
octal_literal
     :    '0' octal_digit*;

octal_digit
     :    '0'..'7';

The error is:

[18:17:06] warning(200): test2.g:6:8: Decision can match input such as 
"EOF" using multiple alternatives: 1, 2
As a result, alternative(s) 2 were disabled for that input
[18:17:06] error(201): test2.g:6:8: The following alternatives can never 
be matched: 2

Thanks so far.
Greetings,
ML

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

-- 
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to