At 16:29 23/07/2009, Bryan S Follins wrote:
>Does anyone know what the error "syntax error: invalid char 
>literal" means?

It means that you have something in 'quotes' in your grammar that 
isn't valid.

Most likely, you've put in a Unicode character.  ANTLR grammars 
are currently parsed by ANTLR v2, which can't cope with Unicode 
input (unlike the lexers v3 generates, which can).

You need to escape any Unicode characters in the grammar with a 
\uNNNN sequence.


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-interest@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