5.2. ANTLRWorks方面常见问题及解决办法

ANTLRWorks使用期间,也常会遇到很多问题,比如:

5.2.1. Compiler exception: java.io.IOException Cannot run program javac

【已解决】antrlworks调试出错:Compiler exception: java.io.IOException Cannot run program "\javac": CreateProcess error=2 The system cannot find the file specified

5.2.2. Cannot launch the debuggerTab. Time-out waiting to connect to the remote parser

【已解决】ANTLRWorks调试出错:Cannot launch the debuggerTab. Time-out waiting to connect to the remote parser

5.2.3. xxxParser.java error: <xxx> expected

【已解决】antlrworks中调试出错:xxxParser.java:1870: error: <identifier> expected

5.2.4. Compiler failed with result code 1

由于antlrworks本身版本的问题,而导致编译出错的:

【已解决】ANTLRWorks 1.5编译代码出错:Compiler failed with result code 1