You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
我对这个源码比较感兴趣,于是下载下来打算研究一下。在跑测试的时候发现找不到Parser这个类,后来看了一些博客之后,觉得是要先编译那个parser.jjt文件,是这样吗?
然后,我在编译的时候,出现了一个异常,以下是异常信息:
flycash@flycash-pc:~/git/mango$ javacc src/main/jjtree/parser.jjt
Java Compiler Compiler Version 5.0 (Parser Generator)
(type "javacc" with no arguments for help)
Reading from file src/main/jjtree/parser.jjt . . .
Warning: Line 10, Column 5: Bad option name "TRACK_TOKENS". Option setting will be ignored.
Warning: Line 13, Column 5: Bad option name "MULTI". Option setting will be ignored.
Warning: Line 16, Column 5: Bad option name "VISITOR". Option setting will be ignored.
org.javacc.parser.ParseException: Encountered " "#" "# "" at line 101, column 22.
Was expecting one of:
"throws" ...
":" ...
Detected 1 errors and 3 warnings.
不知道是哪里出了问题。PS:我还是第一次接触javacc这种东西,若是有什么学习资料,万望不吝指点。
The text was updated successfully, but these errors were encountered:
我对这个源码比较感兴趣,于是下载下来打算研究一下。在跑测试的时候发现找不到Parser这个类,后来看了一些博客之后,觉得是要先编译那个parser.jjt文件,是这样吗?
然后,我在编译的时候,出现了一个异常,以下是异常信息:
flycash@flycash-pc:~/git/mango$ javacc src/main/jjtree/parser.jjt
Java Compiler Compiler Version 5.0 (Parser Generator)
(type "javacc" with no arguments for help)
Reading from file src/main/jjtree/parser.jjt . . .
Warning: Line 10, Column 5: Bad option name "TRACK_TOKENS". Option setting will be ignored.
Warning: Line 13, Column 5: Bad option name "MULTI". Option setting will be ignored.
Warning: Line 16, Column 5: Bad option name "VISITOR". Option setting will be ignored.
org.javacc.parser.ParseException: Encountered " "#" "# "" at line 101, column 22.
Was expecting one of:
"throws" ...
":" ...
Detected 1 errors and 3 warnings.
不知道是哪里出了问题。PS:我还是第一次接触javacc这种东西,若是有什么学习资料,万望不吝指点。
The text was updated successfully, but these errors were encountered: