damn
i’m so stupid
i spend at least hour trying to find what’s wrong
thanks

From: Bart Kiers 
Sent: Saturday, March 19, 2011 7:19 PM
To: Wojciech Tomasz Cichon 
Cc: [email protected] 
Subject: Re: [antlr-interest] problem with characters in grammar

On Sat, Mar 19, 2011 at 8:14 PM, Wojciech Tomasz Cichon 
<[email protected]> wrote:

  i decided to extend my grammar for characters
  and i added:

  factor  :  '-'? (NUMBER )
         | character
        ;
  character : AP (LETTER | NUMBER) AP;
  AP : '\'';
  LETTER :  'A'..'Z' | 'a'..'Z';


There's a capital Z after the `a`..

Try a lower case.

Regards,

Bart. 

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