Hello,

what's wrong with the following grammar,
tested with: abcd


grammar Problem1b ;

fragment
Cl :  'a'..'z' ;
fragment
Cu :  'A'..'Z' ;
fragment
INT : '0'..'9' ;

id_Chars :               Cl | Cu ;
id_NumbersChars  : INT | Cl | Cu ;

test : id_Chars ( id_NumbersChars )* ;


My main problem is that every time I'm working with
ANTLRWorks 1.4.2 its behaviour is different. Now
I restartet ANTLRWorks and I got an error
[17:35:45] 
F:\ProgLang\Parsers\ANTLR3\Projects\Tutorial\Test\IntegerZero\output\__Test__.java:14:
 cannot find symbol
[17:35:45] symbol  : method Cl()
[17:35:45] location: class Problem1bParser
[17:35:45]             g.Cl();
[17:35:45]              ^
[17:35:45] 1 error

Some minutes ago the debugger blocked, before
only 'a' was recognized.


Many thanks and greetings
Udo

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