Commit Graph

2018 Commits

Author SHA1 Message Date
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
Sam Harwell 3521a00dbb Add error 146: non-fragment lexer rule can match the empty string 2013-01-14 18:03:21 -06:00
Sam Harwell 9edec91022 Add error 145: lexer mode must contain at least one non-fragment rule 2013-01-14 18:03:13 -06:00
Sam Harwell c1f831aed1 Parser allows empty options{} block, empty element options, modes with no rules, and empty lexer alternatives 2013-01-14 18:03:09 -06:00
Sam Harwell 9f82e11431 Remove unused field 2013-01-14 18:03:08 -06:00
Sam Harwell c51bdc2fc9 Add missing listener interface methods to GrammarTreeVisitor 2013-01-14 18:03:07 -06:00
Sam Harwell d79bc252bc TestRig uses instance fields instead of static fields, allows reuse from other applications 2013-01-12 14:11:22 -06:00
Sam Harwell 7ae67de110 Reduce size of _serializedATN by adding 2 to each element: new representation avoids embedded values 0 and 0xFFFF which are common and have multi-byte representations in Java's modified UTF-8 2013-01-11 13:34:08 -06:00
Sam Harwell ce279de429 Updated CHANGES.txt 2013-01-11 12:55:26 -06:00
Sam Harwell b5650404e0 Error message cleanup 2013-01-11 12:47:47 -06:00
Sam Harwell ed9f52702e Use separate error messages for multi-character literals (always illegal) and rule references (not yet supported) in lexer sets 2013-01-11 12:46:42 -06:00
Sam Harwell 538f66a194 Documentation and cleanup in AttributeDict 2013-01-11 11:49:51 -06:00
Sam Harwell 40a40e0fee Add detailed errors for the various types of conflicts between names of rules, tokens, parameters, return values, locals, and labels 2013-01-11 11:45:24 -06:00
Sam Harwell 47dcd4881c Report conflicting argument error at specific location in input 2013-01-11 10:17:07 -06:00
Sam Harwell 0496cff256 Add field Attribute.token to hold a pseudo-token with specific location information for the attribute; track this position in ScopeParser 2013-01-11 09:49:38 -06:00
Sam Harwell 260115fa23 The ARG_ACTION token for a rule's locals is always an ActionAST 2013-01-11 09:46:33 -06:00
Sam Harwell 3bfd7c3770 Add map from Java's logical fonts to postscript font names 2013-01-10 15:02:17 -06:00
Sam Harwell f19059d6b5 Calculate font metrics from the system 2013-01-10 15:02:11 -06:00
Sam Harwell 723637fc59 Update CHANGES.txt 2013-01-10 15:00:16 -06:00
Sam Harwell 6b3d102ba1 Also check rule list labels 2013-01-10 14:57:51 -06:00
Sam Harwell 899d15aa5a Handle null scope 2013-01-10 14:49:04 -06:00
Sam Harwell 19f861ee81 Added error message 135: cannot assign a value to list label: $label 2013-01-10 14:48:59 -06:00
Sam Harwell 8d13e3c47e Ant build.xml: Tweak build message 2013-01-06 16:16:25 -06:00