Commit Graph

2018 Commits

Author SHA1 Message Date
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
Sam Harwell 54c9382ce1 Reference the latest RC-2 releases of ANTLR 3 and ST 4 2012-12-16 16:52:44 -06:00
Sam Harwell 842d449be3 Updated .gitignore to better accomodate projects which may exist in other branches 2012-12-15 18:26:39 -06:00
Sam Harwell 99e4438256 Use a TestWatcher to properly clean up after successful tests 2012-12-15 18:19:40 -06:00
Sam Harwell bca2589be1 Merge branch 'hashset-updates' into master 2012-12-15 13:34:39 -06:00
Sam Harwell 225cd78d50 Update code formatting for easier debugging 2012-12-15 12:09:03 -06:00
Sam Harwell 9a8d0f06f7 Implement Array2DHashSet.retainAll and Array2DHashSet.removeAll 2012-12-15 12:09:01 -06:00
Sam Harwell aea4c89c04 Update documentation and comments 2012-12-15 12:09:00 -06:00
Sam Harwell 0b71671cda Optimized Array2DHashSet.expand 2012-12-15 12:08:58 -06:00
Sam Harwell e37f5d2c20 Need to resize array if the one provided doesn't have enough room 2012-12-15 12:08:57 -06:00
Sam Harwell 01893f9678 Make sure to set last bucket to null after remove or you could have a memory leak 2012-12-15 12:08:55 -06:00
Sam Harwell 4e1473a6f0 Mark some methods final, remove unnecessary check for null 2012-12-15 12:08:53 -06:00
Sam Harwell 431cdbeb45 Call containsFast directly to avoid an IDE warning about calling contains with an unexpected object type 2012-12-15 12:08:51 -06:00
Sam Harwell 83483a7a49 Add containsFast and removeFast to avoid a type check when you already have an instance of T 2012-12-15 12:08:49 -06:00
Sam Harwell c157801296 Add Array2DHashSet.asElementType for casts from Object to T 2012-12-15 12:08:48 -06:00
Sam Harwell c654c1b428 Improved generics usage in Array2DHashSet 2012-12-15 12:08:46 -06:00