Commit Graph

89 Commits

Author SHA1 Message Date
Sam Harwell 06375af15e Update CHANGES.txt 2013-03-26 18:54:45 -05:00
Sam Harwell df9685ecaf Update CHANGES.txt 2013-03-26 18:45:59 -05:00
Sam Harwell 685d2a32d4 Update CHANGES.txt 2013-03-26 18:23:47 -05:00
Sam Harwell e9bccee49f Update CHANGES.txt 2013-03-26 18:14:22 -05:00
Sam Harwell 507f331bd0 Update CHANGES.txt 2013-03-26 18:14:04 -05:00
Sam Harwell 678927617e Update CHANGES.txt 2013-01-21 13:15:53 -06:00
Terence Parr 9c44939f6a tweak for 4.0 release 2013-01-20 16:51:11 -08:00
Sam Harwell db51cb38ed Update CHANGES.txt 2013-01-15 09:19:10 -06:00
Sam Harwell d3a76ebcb1 Update CHANGES.txt 2013-01-15 08:58:00 -06:00
Sam Harwell f43064a31e Update CHANGES.txt 2013-01-14 18:06:21 -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 723637fc59 Update CHANGES.txt 2013-01-10 15:00:16 -06:00
Sam Harwell 9b5417c54a Update CHANGES.txt 2013-01-02 13:58:42 -06:00
Sam Harwell d9a95948ff Updated CHANGES.txt 2013-01-02 06:44:07 -06:00
Terence Parr bd46ac1c3f I altered Target.getTargetStringLiteralFromANTLRStringLiteral() so that it converts \uXXXX in an ANTLR string to \uXXXX, thus, avoiding Java's conversion to a single character before compilation. Fixes antlr/antlr#111 2012-12-31 15:06:34 -08:00
Sam Harwell 09d6ae5d8d Update CHANGES.txt 2012-12-16 17:24:31 -06:00
Sam Harwell f7d0cacb09 Update changes.txt 2012-12-12 09:39:01 -06:00
Sam Harwell b822070790 Use new STGroup.GROUP_FILE_EXTENSION value 2012-12-11 08:44:44 -06:00
Sam Harwell 1411a561ab Use EnumSet instead of HashSet 2012-12-11 08:44:38 -06:00
Sam Harwell 70360a4ce8 GrammarASTWithOptions.getOptions never returns null 2012-12-11 08:44:05 -06:00
Sam Harwell f418ae6610 Fix template issues 2012-12-11 08:43:33 -06:00
Sam Harwell a50c8d9088 Listen for issues reported by StringTemplate, report them as warnings 2012-12-11 08:43:32 -06:00
Sam Harwell fc3bb61d2d "warning treated as error" is a one-off error 2012-12-11 08:43:31 -06:00
Sam Harwell 934bea8b12 Add -long-messages option; only show exceptions with errors when set 2012-12-11 08:43:25 -06:00
Sam Harwell 380d3dadde Create a ParseTreeVisitor interface, rename current abstract base class to AbstractParseTreeVisitor 2012-12-02 17:57:28 -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 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 8ca298faff Update changes.txt 2012-11-30 12:34:54 -06:00
Sam Harwell 81c4ebbf6f Update changes.txt 2012-11-26 14:36:16 -06: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 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 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 ae111eddbd * added check for v3 backward incompatibilities:
** labels in lexer rules
2012-11-18 13:03:37 -08:00
Terence Parr 397f28d12c added check for v3 backward incompatibility: tree grammars 2012-11-18 12:53:48 -08:00
Terence Parr b214f36044 cleanup, rm dead etypes, add check for ids that cause code gen issues; added notion of one-off error 2012-11-18 11:00:06 -08:00
Terence Parr 468c791267 cleanup ErrorType a bit, split an error msg. 2012-11-18 09:56:41 -08:00
Terence Parr 0a8e7220f8 fixed: undefined rule refs caused exception 2012-11-18 09:33:11 -08:00
Terence Parr afe2224881 wasn't checking soon enough for rule redef; now it sets a dead flag in
AST so no more walking dup.
  error(51): T.g:7:0: rule s redefinition (ignoring); previous at line 3
2012-11-18 09:07:30 -08:00
Terence Parr 6a345316df if labels, don't allow set collapse for
a : A # X | B ;
2012-11-17 18:06:23 -08:00
Terence Parr 80b1fa7acb properly check for grammar/filename difference 2012-11-17 17:24:13 -08:00