Commit Graph

2090 Commits

Author SHA1 Message Date
Sam Harwell 371bcc83b2 Use accessor methods for CodeGenerator.templates and CodeGenerator.target 2013-02-23 17:55:11 -06:00
Sam Harwell 758c5cd37f Use lexer commands instead of actions where available 2013-02-23 16:45:16 -06:00
Terence Parr b372d4d88d add TODOs and fix a -1 to be a constant. 2013-02-23 14:03:20 -08:00
Sam Harwell 18508e2209 Do not allow raw newline characters in lexer string literals 2013-02-22 14:12:04 -06:00
Sam Harwell 1bc4c5e6a4 Do not allow raw newline characters in a lexer char set 2013-02-22 14:12:00 -06:00
Sam Harwell 08386ba2dc Simplify LEXER_CHAR_SET rule 2013-02-22 14:11:58 -06:00
Sam Harwell 53f147bb18 Clarify type widening casts 2013-02-22 14:10:17 -06:00
Sam Harwell bb36baeb21 Add a non-null default source Pair for CommonToken 2013-02-22 14:10:15 -06:00
Sam Harwell 1789e1685b Pair and Triple are immutable, and Triple is not a Pair 2013-02-22 14:09:29 -06:00
Sam Harwell 3d59e47fb4 Remove unnecessary method Utils.replace (already exists as String.replace) 2013-02-22 14:08:51 -06:00
Terence Parr c46bce3251 rm bad comment. 2013-02-18 10:27:58 -08:00
Sam Harwell adf80e166a Fix IntervalSet.add when multiple merges are required 2013-02-05 13:11:49 -06:00
Sam Harwell aae042c6db Additional IntervalSet unit test (catches underlying cause of #153) 2013-02-05 13:09:14 -06:00
Terence Parr 59f7467d68 Merge pull request #151 from metadave/dip_check_args
don't call process() if args aren't specified
2013-01-29 11:18:13 -08:00
Dave Parfitt b2d2ee348a added Dave Parfitt to contributors.txt 2013-01-29 14:14:40 -05:00
Dave Parfitt ee0dc0542a don't call process() if args aren't specified 2013-01-29 11:34:29 -05:00
Terence Parr 2bde37a8f6 Merge pull request #149 from abrown28/master
Removed extraneous spaces from the alias grun command
2013-01-28 12:49:39 -08:00
abrown28 027ebed0af Update README.txt
Removed spaces from the grun alias so copy and paste people will not get an error.
2013-01-25 13:20:29 -06:00
Sam Harwell e1cce61400 Development line is now 4.0.1 2013-01-21 19:20:01 -06:00
Sam Harwell ad9bac9519 Fix diagrams for ATNState documentation 2013-01-21 13:39:53 -06:00
Sam Harwell 6218e7a053 Use a template to fill in the correct version reference 2013-01-21 13:39:51 -06:00
Sam Harwell 79551fd1e0 Fix Maven goal references 2013-01-21 13:39:49 -06:00
Terence Parr 625c504f36 Merge pull request #144 from sharwell/maven-and-javadoc-updates
Maven and javadoc updates
2013-01-21 11:34:01 -08:00
Sam Harwell 678927617e Update CHANGES.txt 2013-01-21 13:15:53 -06:00
Sam Harwell 29495c4a04 Use hard tab in code generation template 2013-01-21 13:13:18 -06:00
Sam Harwell 019cba7c46 Remove unused "true" and "false" templates 2013-01-21 13:13:16 -06:00
Sam Harwell b956a9eda1 Fix incorrect HTML excape in Javadoc code tag 2013-01-21 13:13:14 -06:00
Sam Harwell 0054cc020a Prediction context documentation including graphs 2013-01-21 13:13:12 -06:00
Sam Harwell 2e693dc169 Fix url, specify reporting plugins 2013-01-21 13:13:10 -06:00
Sam Harwell fc9a0fe96b Set inceptionYear, organization, and mailingLists; fix scm url 2013-01-21 13:13:08 -06:00
Sam Harwell 502f0802fa Updated Mojo documentation 2013-01-21 13:13:06 -06:00
Sam Harwell 8e738dad52 Do not require explicit setting of source and output directories 2013-01-21 13:13:04 -06:00
Sam Harwell 087dea5e39 Use project source encoding setting by default 2013-01-21 13:13:02 -06:00
Sam Harwell e5bdcccfc7 Updated Mojo name (antlr4) and default phase (generate-sources) 2013-01-21 13:13:00 -06:00
Terence Parr 21a97e4ead tweak 2013-01-21 11:10:49 -08:00
Terence Parr 9c44939f6a tweak for 4.0 release 2013-01-20 16:51:11 -08:00
Sam Harwell f37d99bc92 Updated error messages and documentation 2013-01-16 13:45:08 -06:00
Sam Harwell a972a4dc24 Add error 148: left recursive rule 'a' contains a left recursive alternative which can be followed by the empty string 2013-01-16 13:23:20 -06:00
Sam Harwell 9ccdca49bb Add error 147: left recursive rule 'a' must contain an alternative which is not left recursive; fixes antlr/antlr4#140 2013-01-16 12:38:55 -06:00
Sam Harwell 8e32d7b695 Clean up imports 2013-01-16 12:37:39 -06:00
Sam Harwell 425df2c595 Ensure the token stream is always properly set for Grammar, GrammarRootAST, and LeftRecursiveRuleAnalyzer 2013-01-16 12:37:10 -06:00
Sam Harwell db51cb38ed Update CHANGES.txt 2013-01-15 09:19:10 -06:00
Sam Harwell 5d489ccbbe Update documentation 2013-01-15 09:18:07 -06:00
Sam Harwell 0a6d1bff7e Fix invalid escape sequences generated for literals containing backslashes 2013-01-15 09:17:56 -06:00
Sam Harwell d3a76ebcb1 Update CHANGES.txt 2013-01-15 08:58:00 -06:00
Sam Harwell 98c29943e5 Make TokenVocabParser fields `protected final` 2013-01-15 08:54:39 -06:00
Sam Harwell 758e2422f5 Updated error message, updated TestAttributeChecks 2013-01-15 08:54:07 -06:00
Sam Harwell df7fb3de2f Call grammarError instead of toolError to provide proper error location 2013-01-15 08:53:39 -06:00
Sam Harwell 48c1a8d433 Forgot to update GrammarTreeVisitor to support modes with no rules 2013-01-14 18:43:23 -06:00
Sam Harwell f43064a31e Update CHANGES.txt 2013-01-14 18:06:21 -06:00