Commit Graph

1759 Commits

Author SHA1 Message Date
Sam Harwell 769e0a418e Updated javadoc 2012-11-26 20:19:09 -06:00
Sam Harwell 6369097630 Remove unnecessary dependency on ST4 2012-11-26 20:14:58 -06:00
Sam Harwell 81c4ebbf6f Update changes.txt 2012-11-26 14:36:16 -06:00
Sam Harwell 60cf71a564 RuleActionFunction and RuleSempredFunction templates generate private methods 2012-11-26 14:21:56 -06:00
Sam Harwell fa5332926b Don't create action functions for lexer rules with no specified actions 2012-11-26 14:21:54 -06:00
Sam Harwell 90f4452dc4 Remove unused method TerminalNodeImpl.isErrorNode 2012-11-26 09:16:30 -06:00
Sam Harwell b56f6d858f Exclude the build/ and dist/ folders created by Ant builds 2012-11-26 02:27:43 -06:00
Sam Harwell 6421e312a4 Remove the RuleContext.hashCode, equals, conflictsWith, and suffix methods since they produce unexpected behavior for ParserRuleContext and are no longer used for adaptivePredict 2012-11-26 02:24:16 -06:00
Sam Harwell 27cb0e4012 Add IntelliJ project files and folders to .gitignore 2012-11-25 16:30:50 -06:00
Sam Harwell a2c5535da1 Merge branch 'maven' into master 2012-11-23 13:47:37 -06:00
Sam Harwell cd5192dd1a Remove inherited and default properties from POMs 2012-11-23 13:46:13 -06:00
Sam Harwell 867a1ec9a8 Specify url in master POM 2012-11-23 13:44:10 -06:00
Sam Harwell ec0863f0f1 Updated developer roles in POM 2012-11-23 13:40:59 -06:00
Sam Harwell c3ee02401c Remove overly verbose comments and an outdated description from POM 2012-11-23 13:40:33 -06:00
Sam Harwell 85f01bcce2 Updated module display names in POMs 2012-11-23 13:37:36 -06:00
Sam Harwell 121044d3b9 Remove inherited property from POMs 2012-11-23 13:36:27 -06:00
Sam Harwell 7226597652 Updated scm url in POM 2012-11-23 13:34:51 -06:00
Sam Harwell f1ed7ee868 Specify issue management details in master POM 2012-11-23 13:34:15 -06:00
Sam Harwell 94803fa9f7 Specify parent POMs 2012-11-23 13:28:52 -06:00
Alan D. Cabrera 71d27f4c6a Signed CLA 2012-11-23 10:55:21 -08:00
Alan D. Cabrera 0696d3a943 Fixed POMs so everything builds nicely from the root. 2012-11-23 09:47:40 -08:00
Terence Parr 355eb42898 This misidentified scope lexer/parser: @lexer::members { } @parser::members { } 2012-11-22 15:50:21 -08:00
Terence Parr 3c0883e9c3 fix: actions like @after in imported rules caused inf loop. added unit test. 2012-11-22 15:43:21 -08:00
Terence Parr 6bf7bf26fd rename tokens->tokenStream; make sure left-recur rule translation uses token stream from correct imported file. 2012-11-22 12:26:08 -08:00
Terence Parr d3edfd1c71 Merge branch 'equalitycomparator' of github.com:sharwell/antlr4 2012-11-22 11:32:53 -08:00
Terence Parr 4e84ae28a2 fix so tokens { A, B } Actually defines them. 2012-11-22 11:32:45 -08:00
Terence Parr 670b20a5cb factor out isTokenName. 2012-11-22 11:15:48 -08:00
Terence Parr 7eaccbc757 revert tokens{} ids to id not just TOKEN_REF. semantic error comes later. 2012-11-22 10:57:18 -08:00
Terence Parr be3a95e8a7 fix unit test. 2012-11-22 10:56:53 -08:00
Sam Harwell f3ca54d350 Separate the EqualityComparator interface from the Set and Map implementations that need it 2012-11-21 19:30:41 -06:00
Sam Harwell 038d3ad44f Make sure to check rules in modes while checking for undefined rules 2012-11-21 18:37:02 -06:00
Sam Harwell 094f40c961 Remove unused field 2012-11-21 17:13:20 -06:00
Terence Parr fc7977e0d9 rename method 2012-11-20 15:09:27 -08:00
Sam Harwell 0742b49c1b Fix USE_OF_BAD_WORD getting reported for elements that never appear in the generated code 2012-11-18 22:30:25 -06:00
Terence Parr 80f7c35a7c Merge branch 'fix-several-bugs' of git://github.com/sharwell/antlr4 2012-11-18 16:19:30 -08:00
Sam Harwell 7fe48dfebf Remove erroneous lexer command placement error message for rules with more than 1 command 2012-11-18 18:17:21 -06:00
Sam Harwell e610f26998 Fix support for the special token reference `EOF` 2012-11-18 18:13:49 -06:00
Sam Harwell d6e1ca2b61 Fix NPE when the grammar has no rules 2012-11-18 18:13:27 -06:00
Sam Harwell 16ace4b429 Fix token definitions: tokens in a tokens{...} block now have type TOKEN_REF (was ID before commit 38214f6312) 2012-11-18 18:03:06 -06:00
Sam Harwell 178df68183 Whitespace can appear between {...}? and => in v3 gated semantic predicates 2012-11-18 18:01:07 -06:00
Sam Harwell aace1ce399 V3 semantic predicate gate (=>) can only appear after a predicate {...}?, not an action {...} 2012-11-18 18:00:19 -06:00
Terence Parr ffbdf8a36c tweak to compile. strange 2012-11-18 15:04:42 -08:00
Terence Parr 133b00aef9 Revert "tweak to compile. strange"
This reverts commit 44cfedc5e6.
2012-11-18 15:01:59 -08:00
Terence Parr 44cfedc5e6 tweak to compile. strange 2012-11-18 14:59:56 -08:00
Terence Parr 3e91065824 Detect EOF in lexer rule 2012-11-18 14:24:18 -08:00
Terence Parr 060343f027 * added check for v3 backward incompatibilities:
** (...)=> syntactic predicates
2012-11-18 14:10:28 -08:00
Terence Parr c5bf2ba0bd * added check for v3 backward incompatibilities:
** {...}?=> gate semantic predicates
2012-11-18 13:59:43 -08:00
Terence Parr 405a447ada warn->err 2012-11-18 13:46:10 -08:00
Terence Parr 38214f6312 * added check for v3 backward incompatibilities:
** tokens {A;B;} syntax
** tokens {A='C';} syntax
2012-11-18 13:39:09 -08:00
Terence Parr 52d3e7ac71 err->warning 2012-11-18 13:04:43 -08:00