Commit Graph

1811 Commits

Author SHA1 Message Date
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
Sam Harwell c30dc20aa5 Cleaned up documentation and minor tweaks in Antlr4ErrorLog 2012-12-01 12:25:25 -06:00
Sam Harwell 5d8d9670df Updated .gitignore 2012-11-30 12:40:24 -06:00
Sam Harwell 8ca298faff Update changes.txt 2012-11-30 12:34:54 -06:00
Sam Harwell e9c9fe7900 Merge branch 'maven-updates' into master 2012-11-30 12:29:47 -06:00
Sam Harwell 6de4570964 Explicitly specify the compile scope 2012-11-30 12:28:58 -06:00
Sam Harwell 8a3298e075 Configure the maven-compiler-plugin in the parent POM, including the use of a bootstrap classpath to build a Java 6-compatible jar even when Java 7 is used to build it 2012-11-30 12:28:39 -06:00
Sam Harwell af76d3294e Configure the maven-source-plugin and maven-javadoc-plugin in the parent POM 2012-11-30 12:26:25 -06:00
Sam Harwell 75a0551308 Update POM to include the Implementation-Title, Implementation-Version, and Implementation-Vendor-Id in the MANIFEST.MF 2012-11-28 22:12:28 -06:00
Sam Harwell 6e6201a341 Build uber-jar of the tool to make it easier to generate code on the command line 2012-11-28 11:43:09 -06:00
Sam Harwell f264609453 Updated POMs for deploying to sonotype 2012-11-27 23:34:36 -06:00
Sam Harwell 11385f7920 Use a zero offset for the first bitset as long as it doesn't force the creation of additional sets 2012-11-27 08:46:16 -06:00
Sam Harwell ad242a0c7a No need to offset the shift value when the offset is 0 2012-11-27 08:39:22 -06:00
Sam Harwell 7c5ec45054 Restrict bitwise comparisons to sets with at least 3 elements (direct equality is cheaper for 1-2 elements) 2012-11-27 08:39:21 -06:00
Sam Harwell 88dbee6352 TestSetInline uses bitwise operators for testing blocks of 64 input values at a time 2012-11-27 08:39:12 -06:00
Sam Harwell 1bc15c5926 Remove unnecessary casts 2012-11-27 08:11:14 -06:00
Sam Harwell 8e9619a731 Merge branch 'maven-updates' into master 2012-11-26 22:35:06 -06:00
Sam Harwell 3117a4e9e1 Generate javadoc and fix warning 2012-11-26 22:33:21 -06:00
Sam Harwell 348adb5398 Fix rawtypes warning 2012-11-26 22:33:08 -06:00
Sam Harwell 8295d9f90c Use annotations for plugin registration 2012-11-26 22:32:52 -06:00