Commit Graph

1842 Commits

Author SHA1 Message Date
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
Sam Harwell ec31c1bd68 Support specifying arbitrary command line arguments 2012-12-01 16:03:53 -06:00
Sam Harwell f08b3ed9e5 Reduce log message verbosity 2012-12-01 16:01:44 -06:00
Sam Harwell a3e3cf21cb Support the -Doption=value syntax for overriding grammar options 2012-12-01 16:01:22 -06:00
Sam Harwell 52498a75f2 Specify property names to make it easier to override options passed to ANTLR 2012-12-01 15:58:29 -06:00
Sam Harwell 747e65a92c Add the encoding and treatWarningsAsErrors parameters 2012-12-01 15:54:36 -06:00
Sam Harwell 6b3bfdd9d8 Remove unused parameter, and @NotNull annotation 2012-12-01 15:50:19 -06:00
Sam Harwell 5711ca4dbf Set the -package flag according to source grammar file locations within the directory structure 2012-12-01 15:47:37 -06:00
Sam Harwell 3fa5af33e2 Updated comments 2012-12-01 15:40:51 -06:00
Sam Harwell 41361b65e3 Rename the force_atn parameter to forceATN 2012-12-01 15:40:39 -06:00
Sam Harwell 37e67f4224 Support the -listener and -visitor options 2012-12-01 15:30:12 -06:00
Sam Harwell 5ed1a6aebf Mark verbose_dfa and force_atn with @Parameter 2012-12-01 15:29:42 -06:00
Sam Harwell ed8f980368 Updated comments 2012-12-01 15:28:11 -06:00
Sam Harwell 7b321f80cb Remove the message format option (eventually it should just use one that works with Maven) 2012-12-01 14:44:46 -06:00
Sam Harwell 3664f18ff4 Initialize exceptions with better message and set the inner exception 2012-12-01 14:39:28 -06:00