JavaCC: ParseException in bundled examples after very slight modification
Posted on 2004-08-11
I'm really rather stumped right now as to what the problem is. I downloaded JavaCC and tried running the examples included in the downloaded file. I started with the simple examples, Simple1.jj -- in order to read it, I fixed the file up to show new lines properly in Notetab (I just hit Enter when the newline character came up).
And then I tried running javacc on it, and this came up:
Java Compiler Compiler Version 3.2 (Parser Generator)
(type "javacc" with no arguments for help)
Reading from file Simple1.jj . . .
org.javacc.parser.ParseException: Encountered "\\u00ef" at line 1, column 1.
Was expecting one of:
Detected 1 errors and 0 warnings.
There. That's it. I deleted the comments before the options line, made the options line the first line in the file, but the same thing keeps coming up.
Any help would be greatly appreciated, I can't even start learning JavaCC because of this error.