[antlr-interest] extended ascii chars
jcdur
Jean-Claude.Durand at imag.fr
Mon Oct 25 05:20:33 PDT 2004
Can somebody explain me why I got an error because of the 'à' in
the comment when running "java antlr.Tool" on the following file:
options
{
language = "Cpp";
}
/* Eléments lexicaux: */
class Lex extends Lexer;
options
{
charVocabulary = '\3'..'\377';
}
// Noeuds ne correspondant pas à des terminaux:
tokens
{
// utilisés dans l'AST d'un ao:
Foret;
Arbre;
}
ENTIER: ('0'..'9')+;
...
I have the same pb when this character or 'ù' appears in rules.
Thanks,
Jean_Claude.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/antlr-interest/
<*> To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list