Sam Harwell
470863dcd0
Update the runtime to build XPathLexer with ANTLR 4.2
2014-03-20 09:32:42 -05:00
Sam Harwell
bc646df824
Add missing @Nullable annotations
2014-03-20 09:25:59 -05:00
Sam Harwell
27270fdd05
Properly encapsulate LexerATNConfig.lexerActionExecutor, and mark as final
2014-03-20 09:25:37 -05:00
Sam Harwell
41e04a27c0
Fix lexerActionExecutor not being preserved when returning from a rule invocation in the lexer ( fixes #469 )
2014-03-20 09:21:28 -05:00
Sam Harwell
6fc77cd88d
Add regression test for #469
2014-03-20 09:20:31 -05:00
Sam Harwell
f1692591cc
Updated RuleFunction.addContextGetters to support multiple alternatives with the same label ( fixes #433 )
2014-03-20 08:35:18 -05:00
Sam Harwell
3c70fea32a
Add regression test for issue #433
2014-03-20 08:35:17 -05:00
Sam Harwell
1dde17efea
Mark Recognizer.getTokenErrorDisplay as deprecated ( fixes #480 )
2014-03-20 07:19:01 -05:00
Kyle Kingsbury
acb1b916e0
Add aphyr (Kyle Kingsbury) to contributors list
2014-03-18 17:01:43 -07:00
Kyle Kingsbury
a74005972d
BasicSemanticChecks.checkGrammarName: allow null filenames.
...
checkGrammarName assumes that all grammars come from actual files, but
grammars loaded using Tool.parseGrammarFromString use input streams
without source file names. This patch changes checkGrammarName to only verify
that grammar names and file names correspond when a file name is
available.
2014-03-18 16:54:43 -07:00
Terence Parr
c0dda79dff
Merge pull request #481 from shinpei/README-fix-download-link
...
fix broken download link
2014-03-10 11:11:05 -07:00
shinpei
dd1480e10c
fix broken download link
2014-03-10 16:00:54 +09:00
Terence Parr
330116f7ef
Merge pull request #475 from sharwell/fix-474
...
Increment current while adding a collection to IntegerList (fixes #474 )
2014-03-01 14:36:26 -08:00
Sam Harwell
c35b59d3b8
Increment current while adding a collection to IntegerList ( fixes #474 )
2014-03-01 15:49:29 -06:00
Terence Parr
3edb44d594
Update README.md
2014-02-18 17:33:20 -08:00
Terence Parr
a3282f5fad
Merge pull request #468 from whitten/patch-1
...
Update README.md
2014-02-18 14:53:22 -08:00
David Whitten
cb578e1bd9
Update README.md
...
added www. to download for MS Windows link because site of "antlr.org" doesn't work but "www.antlr.org" does work
2014-02-18 17:32:00 -05:00
Terence Parr
98b87bd6b3
Update README.md
2014-02-18 12:23:42 -08:00
Terence Parr
a9628b0ff0
Merge pull request #462 from sharwell/fix-461
...
Fix 461
2014-02-06 20:06:19 -08:00
Sam Harwell
72a65093e0
Return the correct tree when starting parser interpreter at an LR rule ( fixes #461 )
2014-02-06 20:53:20 -06:00
Sam Harwell
d498292680
Add regression test for issue #461 (interpreter starting with LR rule)
2014-02-06 20:46:32 -06:00
Sam Harwell
9d9e718692
Merge pull request #460 from sharwell/release/4.2
2014-02-04 17:19:50 -06:00
Sam Harwell
06ab99d16d
[maven-release-plugin] prepare for next development iteration
2014-02-04 17:19:12 -06:00
Sam Harwell
5e05b71e8b
[maven-release-plugin] prepare release 4.2
2014-02-04 17:19:11 -06:00
Sam Harwell
8ef0f590bb
Updated build to include annotation processor in shaded Tool jar
2014-02-04 17:18:48 -06:00
Sam Harwell
3d462f29b5
Updated maven release configuration
2014-02-03 22:18:56 -06:00
Terence Parr
f3ce4e8a82
4.1->4.2 in doc
2014-02-03 17:50:02 -08:00
Terence Parr
0644fa7a26
Merge pull request #458 from sharwell/tweaks
...
Tweaks
2014-02-03 17:46:05 -08:00
Sam Harwell
67b6415659
Fix ParseTreePatternMatcher.compile allowing invalid syntax
2014-02-03 19:43:36 -06:00
Sam Harwell
bf63d5afb9
Remove unused import
2014-02-03 19:35:53 -06:00
Sam Harwell
2730781c98
Fix documentation problems
2014-02-03 19:35:31 -06:00
Terence Parr
51bc2e2def
Merge pull request #453 from sharwell/interp-errors
...
Error handling in ParserInterpreter
2014-01-27 10:38:38 -08:00
Sam Harwell
daf793b1c1
ParserInterpreter handles RecognitionException in the same way as the generated code
2014-01-26 12:50:55 -06:00
Sam Harwell
ddbd7086b8
ParserInterpreter calls sync before adaptivePredict
2014-01-26 12:50:55 -06:00
Sam Harwell
5cff6a6df6
Merge pull request #452 from sharwell/generated-javadoc
...
Fix generated code Javadoc incompatible with Java 8
2014-01-26 10:48:55 -08:00
Sam Harwell
2eb6f45bd9
Fix generated code Javadoc incompatible with Java 8
2014-01-26 11:49:20 -06:00
Sam Harwell
8d9cae93ec
Merge pull request #450 from sharwell/fix-449
...
Fix encoding of -1 (EOF) in serialized lexer actions (fixes #449 )
2014-01-24 14:12:36 -08:00
Sam Harwell
dc1926cfe3
Fix encoding of -1 (EOF) in serialized lexer actions ( fixes #449 )
2014-01-24 14:42:53 -06:00
Sam Harwell
815a1ad025
Merge pull request #447 from sharwell/runtime-complete
...
Create a shaded runtime artifact
2014-01-23 20:50:26 -08:00
Sam Harwell
b35f46d93c
Create a shaded runtime artifact (includes runtime, annotations, and treelayout)
2014-01-23 22:28:58 -06:00
Sam Harwell
4a20c8ef36
Merge pull request #445 from sharwell/aggregate-docs
...
Include documentation from antlr4-annotations
2014-01-23 11:41:06 -08:00
Sam Harwell
501317e14b
Include documentation from antlr4-annotations in the antlr4-runtime javadoc build
2014-01-23 13:40:03 -06:00
Terence Parr
3e45c4bc04
Merge pull request #443 from sharwell/consume-opt
...
Use the fetchedEOF field to often avoid an expensive LA(1) operation in consume
2014-01-23 10:06:18 -08:00
Sam Harwell
233a43f713
Use the fetchedEOF field to often avoid an expensive LA(1) operation in BufferedTokenStream.consume
2014-01-23 11:46:56 -06:00
Terence Parr
de43cc427c
Merge pull request #440 from sharwell/clone-token-text
...
Improve CommonToken cloning performance, and update documentation
2014-01-23 08:30:16 -08:00
Sam Harwell
959a49b12f
Merge pull request #442 from sharwell/test-build-warnings
...
Update javac options during testing to address overly verbose warnings
2014-01-23 05:26:38 -08:00
Sam Harwell
243e3133fd
Merge pull request #441 from sharwell/java6-minimum
...
ANTLR 4 targets Java 6 at minimum
2014-01-23 05:26:27 -08:00
Sam Harwell
e63f95268f
Update javac options during testing to address overly verbose warnings
2014-01-23 07:25:41 -06:00
Sam Harwell
340738f903
ANTLR 4 targets Java 6 at minimum
2014-01-23 07:25:09 -06:00
Sam Harwell
cc045fbaf3
Improve CommonToken cloning performance, and update documentation
2014-01-23 07:23:55 -06:00