Commit Graph

1933 Commits

Author SHA1 Message Date
Sam Harwell a5e0c47be5 Formatting: no space after cast 2013-01-02 12:49:12 -06:00
Sam Harwell fbfa61c3dd Remove tree parser reference 2013-01-02 12:48:58 -06:00
Sam Harwell 922fe53bdd Ignore testStartRuleWithoutEOF until we decide on the desired behavior 2013-01-02 09:06:00 -06:00
Sam Harwell 4040dc0d6d After consuming EOF, only configurations in a RuleStopState are viable 2013-01-02 09:03:14 -06:00
Sam Harwell b34ad624bc No need to continue SLL prediction if every configuration is at a RuleStopState 2013-01-02 09:02:23 -06:00
Sam Harwell 61b872377c Add timeout to unit test due to highlight non-termination of prediction algorithm without resorting to @Ignore 2013-01-02 08:33:54 -06:00
Sam Harwell 2080be8a14 Cannot call IntStream.consume after EOF is reached 2013-01-02 08:30:25 -06:00
Sam Harwell e3383ecb61 Add unit test for start rule without EOF 2013-01-02 08:30:05 -06:00
Sam Harwell 8c92df27c6 Fix javadoc issues 2013-01-02 06:55:38 -06:00
Sam Harwell 274d566be6 TestPerformance.DEBUG_TEMPLATES should default to false 2013-01-02 06:50:05 -06:00
Sam Harwell d9a95948ff Updated CHANGES.txt 2013-01-02 06:44:07 -06:00
Sam Harwell 131c26edc0 Add @NotNull annotation 2013-01-02 06:41:24 -06:00
Sam Harwell 673dce5664 Add private constructor for Trees 2013-01-02 06:41:23 -06:00
Sam Harwell 8839d6b185 Remove unused/commented methods 2013-01-02 06:41:22 -06:00
Sam Harwell 112810db28 Documentation updates 2013-01-02 06:41:20 -06:00
Sam Harwell c462547ff3 Support the -XdbgST and -XdbgSTWait options in TestPerformance 2013-01-02 06:41:19 -06:00
Sam Harwell 26d267ca38 Add the -XdbgSTWait command line option to block the tool execution until the STViz inspection dialog is closed 2013-01-02 06:41:18 -06:00
Sam Harwell b6a824ddd5 No need to override method - bug was fixed in V3 runtime 2013-01-02 06:40:49 -06:00
Terence Parr 82dc6f7714 update README, date on license. 2013-01-01 13:43:15 -08:00
Terence Parr a64187e641 Merge branch 'master' of github.com:parrt/antlr4 2012-12-31 15:07:03 -08:00
Terence Parr bd46ac1c3f I altered Target.getTargetStringLiteralFromANTLRStringLiteral() so that it converts \uXXXX in an ANTLR string to \uXXXX, thus, avoiding Java's conversion to a single character before compilation. Fixes antlr/antlr#111 2012-12-31 15:06:34 -08:00
Terence Parr 53e6efabc6 I altered Target.getTargetStringLiteralFromANTLRStringLiteral() so that it converts \uXXXX in an ANTLR string to \\uXXXX, thus, avoiding Java's conversion to a single character before compilation. 2012-12-31 15:04:36 -08:00
Sam Harwell 5d390b4a90 Need to shutdown the ExecutorService or the application will stay open 2012-12-29 00:16:59 -06:00
Sam Harwell 7811ad9e49 Also copy command line options to lexer in combined grammars 2012-12-25 08:06:56 -06:00
Terence Parr c93970207e gen grammar name and antlr version into gen'd files 2012-12-24 13:35:25 -08:00
Terence Parr f43166bb45 pull version from manifest file or use 4.x. 2012-12-24 13:25:28 -08:00
Terence Parr 84189cc81a Merge branch 'master' of github.com:antlr/antlr4 2012-12-24 12:47:02 -08:00
Terence Parr 29fd6a0c16 improved javadoc output 2012-12-24 12:13:31 -08:00
Sam Harwell 73e2a31d36 Call visitChildren by default 2012-12-24 14:04:32 -06:00
Terence Parr 36c3b2341c add unit test for case when SLL needs to see EOF 2012-12-23 15:31:35 -08:00
Terence Parr dc3279cf23 assertNotEquals wasn't found (I upgraded to junit 4.10 too). weird. 2012-12-20 16:33:26 -08:00
Sam Harwell e6d1c7f257 Add Eclipse project files to .gitignore 2012-12-20 16:56:02 -06:00
Sam Harwell b7e5cbd7f5 Use Arrays.copyOf 2012-12-20 16:55:56 -06:00
Sam Harwell 1894017eb7 Switch on result of getStateType 2012-12-20 16:55:18 -06:00
Sam Harwell f3f8b425c3 Reference IntStream.EOF directly 2012-12-20 16:55:16 -06:00
Sam Harwell 6a5f609797 Add Utils.waitForClose 2012-12-18 18:15:21 -06:00
Sam Harwell 62531d2ea1 RuleContext.inspect returns Future<JDialog> to provide the created dialog 2012-12-18 18:15:06 -06:00
Sam Harwell 3b82dd9e24 inspect and save work with a list of rule names (no need to pass the Parser instance) 2012-12-18 18:13:32 -06:00
Sam Harwell 50822b6ca5 Updated NetBeans configuration 2012-12-18 17:59:01 -06:00
Sam Harwell 29be5523ff Update documentation 2012-12-17 22:09:52 -06:00
Sam Harwell 068075f1c4 Fix usage of BufferedTokenStream: cannot consume EOF 2012-12-17 22:09:50 -06:00
Sam Harwell 4832425848 Update BufferedTokenStream implementation to match IntStream interface: consume throws IllegalStateException if LA(1)==EOF 2012-12-17 22:09:47 -06:00
Sam Harwell a64cdc8e2d Make sure reportAttemptingFullContext occurs with input index at the expected location 2012-12-17 13:57:17 -06:00
Sam Harwell 9ec75650e3 Optimize ATNState.getStateType 2012-12-17 13:20:47 -06:00
Sam Harwell 09d6ae5d8d Update CHANGES.txt 2012-12-16 17:24:31 -06:00
Sam Harwell 116c58bec6 Show all warnings and errors for V3 compatibility issues so the user has a list of all the items to fix 2012-12-16 17:18:51 -06:00
Sam Harwell 9865d03347 Tweak comments and messages in ErrorType 2012-12-16 17:18:17 -06:00
Sam Harwell d7bf34d4f4 Remove ErrorType.INVALID 2012-12-16 17:17:09 -06:00
Sam Harwell 95335a8799 Unit test tweaks 2012-12-16 17:16:31 -06:00
Sam Harwell 2405219668 Encapsulate several fields in ANTLRMessage 2012-12-16 16:56:37 -06:00