Commit Graph

1858 Commits

Author SHA1 Message Date
Sam Harwell 2582d33085 Add @SuppressWarnings("fallthrough") to method with intentional fallthrough 2012-12-14 09:43:21 -06:00
Sam Harwell 0504334d08 Add missing @Override annotations 2012-12-14 09:42:02 -06:00
Sam Harwell ed40c1aad1 Remove redundant casts 2012-12-14 09:41:11 -06:00
Sam Harwell 9d0ba56cbd Build against the latest ANTLR 3.5-SNAPSHOT 2012-12-14 09:40:12 -06:00
Sam Harwell 227214765d Cleaner initialization of predefined sets and maps 2012-12-14 09:38:40 -06:00
Sam Harwell ac55cf3990 Add missing generic type arguments 2012-12-14 09:37:22 -06:00
Sam Harwell 51dadaf7e8 Updated TestPerformance output (platform-specific newlines, simplified source name formatting) 2012-12-13 08:51:36 -06:00
Sam Harwell 129e403f4a Updated comments in TestPerformance 2012-12-13 08:45:14 -06:00
Sam Harwell e48d87d6a8 In TestPerformance, REUSE_LEXER and REUSE_PARSER default to false since it's an easier case to work with and overhead is minimal now that the DFA is shared between instances 2012-12-13 08:27:55 -06:00
Sam Harwell 6aef4ef1eb Introduce local variables in TestPerformance 2012-12-13 08:25:20 -06:00
Sam Harwell f7d0cacb09 Update changes.txt 2012-12-12 09:39:01 -06:00
Sam Harwell 9b75ea79f9 Automatically reduce SemanticContext.AND/SemanticContext.OR with a single operand to the operand itself 2012-12-12 09:35:54 -06:00
Sam Harwell e5e4402ea9 Merge remote branch 'sharwell/array-opt' with master 2012-12-12 09:28:55 -06:00
Sam Harwell b822070790 Use new STGroup.GROUP_FILE_EXTENSION value 2012-12-11 08:44:44 -06:00
Sam Harwell 1411a561ab Use EnumSet instead of HashSet 2012-12-11 08:44:38 -06:00
Sam Harwell 70360a4ce8 GrammarASTWithOptions.getOptions never returns null 2012-12-11 08:44:05 -06:00
Sam Harwell f418ae6610 Fix template issues 2012-12-11 08:43:33 -06:00
Sam Harwell a50c8d9088 Listen for issues reported by StringTemplate, report them as warnings 2012-12-11 08:43:32 -06:00
Sam Harwell fc3bb61d2d "warning treated as error" is a one-off error 2012-12-11 08:43:31 -06:00
Sam Harwell 934bea8b12 Add -long-messages option; only show exceptions with errors when set 2012-12-11 08:43:25 -06:00
Sam Harwell 4a442562e6 Allow specifying the bootclasspath by the bootclasspath.java5 and bootclasspath.java6 variables 2012-12-07 14:43:13 -06:00
Sam Harwell 0e91700678 Stronger argument checks for ATN state and transition factory methods 2012-12-07 11:16:04 -06:00
Sam Harwell 26f16bed73 Updated documentation 2012-12-07 08:54:53 -06:00
Sam Harwell 38b5a8321b Remove reference to tree parsers 2012-12-07 08:50:54 -06:00
Sam Harwell 356b8e4b27 Updated parameter types of copy constructors, return types of dupNode 2012-12-07 08:31:38 -06:00
Sam Harwell 9d3c763470 Add ATNSimulator.SERIALIZED_VERSION, resolved antlr/antlr4#95 2012-12-06 13:07:32 -06:00
Sam Harwell 90020850ea Only show warnings and errors from maven-javadoc-plugin 2012-12-06 13:07:30 -06:00
Sam Harwell 64a4114850 Make debug fields compile-time constants to improve release runtime performance 2012-12-06 13:07:29 -06:00
Sam Harwell 886baaf773 Use separate lists in the serialized ATN for non-greedy states (cleaner, allows ATNs with twice as many states), resolves antlr/antlr4#96 2012-12-06 13:07:11 -06:00
Sam Harwell 064501967e Construct GrammarASTAdaptor with CharStream from lexer 2012-12-06 13:05:21 -06:00
Sam Harwell ee8344703b Fix inconsistency in elementOption syntax in tree grammars 2012-12-06 13:05:20 -06:00
Sam Harwell 3946c05eec Update dependencies now that ANTLR 3.5 RC 1 and ST 4.0.7 RC 1 are synced with Maven Central 2012-12-04 12:59:44 -06:00
Sam Harwell db32c80265 Fix bootstrap classpath references 2012-12-04 12:58:25 -06:00
Sam Harwell b2ab7ab5ac Rename master artifact to antlr4-master 2012-12-04 12:57:56 -06:00
Sam Harwell 9d47ac7169 Shaded output file is antlr4-4.0-complete.jar, includes all files from v4 runtime 2012-12-02 18:10:14 -06:00
Sam Harwell 380d3dadde Create a ParseTreeVisitor interface, rename current abstract base class to AbstractParseTreeVisitor 2012-12-02 17:57:28 -06:00
Sam Harwell 38739cec5e Fix handling of grammars in the default package (resolves antlr/antlr4#94) 2012-12-02 16:57:42 -06:00
Terence Parr f14cce6539 reset in prep for 4.0 release 2012-12-02 13:00:04 -08:00
Terence Parr 2c871250f4 Merge branch 'master' of github.com:antlr/antlr4 2012-12-02 12:58:48 -08:00
Terence Parr cda9afdf55 update license everywhere. 2012-12-02 12:58:02 -08:00
Sam Harwell 21ed483b9e The "-Xverbose-dfa" option was removed from the tool 2012-12-02 13:04:24 -06:00
Terence Parr 84306fa385 Remove -Xverbose-dfa option. Fixes antlr/antlr4#92 2012-12-02 10:31:58 -08:00
Terence Parr 346da8b863 remove -Xsave-lexer option; log file as implicit lexer AST. Fixes antlr/antlr4#82 2012-12-01 17:30:12 -08:00
Terence Parr 9e3907d573 tokens now have token and char source to draw from. fix and close antlr/antlr4#88 2012-12-01 17:23:50 -08:00
Terence Parr 35202df715 label+='foo' wasn't generating good code. It was generating token type as variable name. Now, I gen "s<ttype>" for implicit labels on string literals. Augmented unit test. Fixes antlr/antlr4#90 2012-12-01 16:26:06 -08:00
Terence Parr 84c34d2391 make code slightly more obvious. 2012-12-01 16:23:44 -08:00
Terence Parr 6d6389eef2 added error for bad sets in lexer. some tests in TestSets appeared to allow ~('a'|B) but it was randomly working. ('a'|B) works without the ~, though doesn't collapse to a set. fixes antlr/antlr4#70 2012-12-01 15:44:23 -08:00
Terence Parr fc79752748 Merge branch 'master' of github.com:antlr/antlr4 2012-12-01 14:38:33 -08:00
Terence Parr 7049972ab7 escape [\r\n\t] in lexical error messages. Fixes antlr/antlr4#75 2012-12-01 14:36:59 -08:00
Sam Harwell 15a06eef07 Merge branch 'antlr4-maven-plugin' into master 2012-12-01 16:08:29 -06:00