M201370367 / javaparser

Automatically exported from code.google.com/p/javaparser
0 stars 0 forks source link

JavaCC 4.1 reports 'Bad option name "TOKEN_FACTORY"' on java_1_5.jj #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Recompile java_1_5.jj from javaparser-1.0.7 using JavaCC 4.1
2. See that there is a warning from JavaCC

What is the expected output? What do you see instead?

-> Expected output is no warning from JavaCC
-> Here's the output I see:

Java Compiler Compiler Version 4.1d1 (Parser Generator)
(type "javacc" with no arguments for help)
Reading from file java_1_5.jj . . .
Warning: Line 27, Column 3: Bad option name "TOKEN_FACTORY".  Option
setting will be ignored.
Parser generated with 0 errors and 1 warnings.

What version of the product are you using? On what operating system?

I use javaparser-1.0.7 on Windows XP SP3 with Java 6 Update 10.

Please provide any additional information below.

n.a.

Original issue reported on code.google.com by xal...@gmail.com on 18 Apr 2009 at 10:17

GoogleCodeExporter commented 9 years ago
Xalaan, I'm using the same version of javacc than you. But I get no warnings in 
the
output:

Java Compiler Compiler Version 4.1d1 (Parser Generator)
(type "javacc" with no arguments for help)
Reading from file java_1_5.jj . . .
Parser generated successfully.

I don't know why you are getting this error, but the configuration 
TOKEN_FACTORY is
necessary for the parser works. I just downloaded the javacc 4.2 and it works 
pretty
fine too. I think you should try this new version, maybe it works for you too.

If it works, please, report here to I close this issue.

Original comment by jges...@gmail.com on 21 Apr 2009 at 12:36

GoogleCodeExporter commented 9 years ago
Closing issue, if it really is a bug, please report again. I could not repeat 
it.

Original comment by jges...@gmail.com on 9 Nov 2009 at 11:27