Commit Graph

1830 Commits

Author SHA1 Message Date
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
Sam Harwell 9be06f92e7 Use isDirectory() instead of exists() 2012-12-01 14:08:05 -06:00
Sam Harwell 124f5eb30d Remove unnecessary calls to isDebugEnabled and isInfoEnabled 2012-12-01 14:06:53 -06:00
Sam Harwell e537351840 Reorder call sequence 2012-12-01 14:03:39 -06:00
Sam Harwell f22bc33837 Improved use of generics 2012-12-01 13:56:04 -06:00
Sam Harwell 762fd6f320 Move source directory existence check earlier 2012-12-01 13:52:25 -06:00
Sam Harwell 924186ad46 Updated spelling in comments, remove irrelevant comments, updated whitespace 2012-12-01 13:43:51 -06:00
Sam Harwell c4f4f60d59 Extract method getCommandArguments 2012-12-01 13:28:31 -06:00
Sam Harwell b9c7e2075e Copyright formatting 2012-12-01 13:18:49 -06:00
Sam Harwell 1bbbf1c0a7 Refactor anonymous class to inner class 2012-12-01 13:16:05 -06:00
Sam Harwell b68779432e Fix exception specification 2012-12-01 13:16:00 -06:00
Sam Harwell f91cb106a9 Update copyright, remove options which are no longer relevant to the Tool 2012-12-01 13:14:51 -06:00
Sam Harwell 66bdbb7abd Remove unused options from Tool 2012-12-01 12:27:10 -06:00