hi,
below is my tree grammar:
tokens
{
COMMA=',';
LPAREN='(';
RPAREN=')';
}
start : (NUMBER^ COMMA NUMBER)|WORD^;
WORD : ~(WHITESPACE|LPAREN|RPAREN)+ ;
WHITESPACE : ('\t'|' '|'\r'|'\n'|'\u000C');
NUMBER : DIGIT+;
fragment DIGIT : '0'..'9' ;
when my input is 1,2 which one is it gonna match ?
hi,
am using antlrWorks 1.4.3 with csharp2 as target language. but when i debug
its using the old grammar.g rather than the latest grammar.g .
can someone help me out in here ??
--
-JAME
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: