[antlr-interest] Recognize letters
Fernando Salgueiro
fernandosalg at hotmail.com
Tue Oct 12 14:56:49 PDT 2004
I have a problem. How can resolve the problem to recognize the letter
"á" ?
I try put charVocabulary = '\003'..'\377'; ( java.g)
And produce a problem to recognize letter of type "á" ?
Error:
parser exception: Funcionßrio.java:63:10: unexpected char: 0xE1
Funcionßrio.java:63:10: unexpected char: 0xE1
at JavaLexer.nextToken(JavaLexer.java:373)
at antlr.TokenBuffer.fill(TokenBuffer.java:69)
at antlr.TokenBuffer.LA(TokenBuffer.java:80)
at antlr.LLkParser.LA(LLkParser.java:52)
at JavaRecognizer.field(JavaRecognizer.java:1235)
at JavaRecognizer.classBlock(JavaRecognizer.java:1132)
at JavaRecognizer.classDefinition(JavaRecognizer.java:512)
at JavaRecognizer.typeDefinition(JavaRecognizer.java:329)
at JavaRecognizer.compilationUnit(JavaRecognizer.java:219)
at Main.parseFile(Main.java:72)
at Main.doFile(Main.java:55)
at Main.main(Main.java:25)
How can i resolve ?
(Send me the response to fernandosalg at hotmail.com )
Thanks ,
Fernando Salg
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