most likely this is obviously stupid question, pardon me in advance please.

what exactly is wrong with this grammar?

lines   :       line (NEWLINE line)*;
line    :       '\u0020'..'\u007F'*;
NEWLINE :       '\r'? '\n';

...
[12:40:17] warning(200): dd.g:4:9: Decision can match input such as
"EOF" using multiple alternatives: 1, 2
As a result, alternative(s) 2 were disabled for that input
...
[12:40:17] Interpreting...
[12:40:17] problem matching token at 1:1
NoViableAltException('1'@[1:1: Tokens : ( T__5 | T__6 | NEWLINE );])
...

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 il-antlr-inter...@googlegroups.com.
To unsubscribe from this group, send email to 
il-antlr-interest+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to