Sam Harwell
0942edbedd
Use LinkedHashMap for deterministic behavior in Graph class
2014-09-28 15:32:08 -05:00
Jan-Eric Duden
26e2c72c97
Sign contributor agreement
2014-09-28 22:14:08 +02:00
Sam Harwell
dd3eaaa31a
Define a constant for the comments channel number
2014-09-28 15:03:14 -05:00
Sam Harwell
00227078e6
Move doc comments to comments channel ( fixes #465 )
2014-09-28 15:02:48 -05:00
Sam Harwell
3565c36db6
Merge pull request #721 from sharwell/deprecated-annotation
...
Add missing Deprecated annotation
2014-09-28 13:10:49 -05:00
Sam Harwell
88d46ee54b
Cache the Java code generation templates
2014-09-28 13:08:48 -05:00
Sam Harwell
cfb95ed95a
Add missing Deprecated annotation (fixes build warning)
2014-09-28 13:08:21 -05:00
Sam Harwell
065c3e68b8
Add additional NotNull and Nullable annotations
2014-09-28 12:12:16 -05:00
Sam Harwell
90071c69b8
Fix getSourceName returning null ( fixes #667 )
2014-09-28 12:12:15 -05:00
Jan-Eric Duden
c26cf1f149
Require Maven-plugin-plugin version 3.3
...
Reporting targets fail for dependants of the maven-plugin-plugin with
JDK 8, because the plugin generates invalid javadoc.
This has been fixed in version 3.3.
Also see: https://jira.codehaus.org/browse/MPLUGIN-244
2014-09-28 12:11:16 +02:00
Sam Harwell
61e23a2032
Merge pull request #718 from petrbel/master
...
TokenStreamRewriter indentation fix
2014-09-27 10:00:33 -05:00
Petr Bělohlávek
2883ee2897
contributor agreement signed
2014-09-27 15:45:03 +02:00
Petr Bělohlávek
78c24f0588
indentation fix
2014-09-27 11:47:13 +02:00
Sam Harwell
35bbdfb65c
Allow XPath matching by literal or symbolic name ( fixes #579 )
2014-09-26 21:37:13 -05:00
Sam Harwell
0be4a3aaeb
Fix test compile error by avoiding string literal assignments for the large lexer test
2014-09-26 21:37:12 -05:00
Sam Harwell
d476d3e5d9
Implement token vocabulary ( fixes #711 )
2014-09-26 21:37:11 -05:00
Sam Harwell
daa462206a
Extract abstract model class Recognizer (parent of Parser and Lexer)
2014-09-26 17:34:30 -05:00
Terence Parr
f143495ab2
Merge pull request #713 from sharwell/fix-707
...
Improved support for recursive imports
2014-09-26 14:40:36 -07:00
Terence Parr
e3f2e5a7d0
Merge pull request #715 from sharwell/fix-487
...
NullUsageProcessor supports Java 6 through 8
2014-09-26 14:31:41 -07:00
Terence Parr
0d18457c6d
Merge pull request #716 from sharwell/fix-670
...
Add regression test for #670
2014-09-26 14:31:10 -07:00
Terence Parr
0d4a28eac9
Merge pull request #717 from sharwell/fix-701
...
Add Parser.isTrace()
2014-09-26 14:28:26 -07:00
Terence Parr
c9bff2222c
Merge pull request #714 from sharwell/fix-652
...
Deprecate ALL_OPS_NEED_SAME_ASSOC
2014-09-26 14:27:57 -07:00
Jan-Eric Duden
92a8ee7ad2
Fix JDK8 incompatible comments
...
In JDK8 javadoc runs a lint pass over the documentation and fails if the docs
are not valid HTML. Also, see following article for a more in-depth
discussion (http://blog.joda.org/2014/02/turning-off-doclint-in-jdk-8-javadoc.html )
Removed all occurrences of <br />,<p /> and replaced them with <br> and
<p>.
2014-09-26 07:00:07 +02:00
Sam Harwell
4f56bb7ab0
Add Parser.isTrace() ( fixes #701 )
2014-09-25 22:11:32 -05:00
Sam Harwell
fbe762374c
NullUsageProcessor supports Java 6 through 8 ( fixes #487 )
2014-09-25 22:05:58 -05:00
Sam Harwell
3137672390
Add regression test for #670
2014-09-25 21:47:41 -05:00
Sam Harwell
4422e0ff12
Deprecate ALL_OPS_NEED_SAME_ASSOC ( fixes #652 )
2014-09-25 21:30:41 -05:00
Sam Harwell
f78f6ceef0
Suppress OPTIONS_IN_DELEGATE warning if all options match the root grammar ( fixes #707 )
2014-09-25 21:18:55 -05:00
Sam Harwell
4b7873783d
Remove logging code which has a detrimental performance impact on processing recursive imports
2014-09-25 21:18:54 -05:00
Sam Harwell
e4c193005e
Fix exponential complexity of recursive imports
2014-09-25 21:18:54 -05:00
Sam Harwell
9d6a6bd3a8
Add regression test for exponential complexity of recursive imports
2014-09-25 21:18:53 -05:00
Sam Harwell
7f577d9209
Merge pull request #705 from sharwell/fix-672
...
Include initial value for attributes in generated code
2014-09-19 22:05:43 +00:00
Sam Harwell
afadc2d976
Include initial value for attributes in generated code ( fixes #672 )
2014-09-19 17:05:20 -05:00
Terence Parr
6e581b3be6
Merge pull request #691 from sharwell/fix-688
...
Improved support for zero-length lexer tokens
2014-09-02 13:25:14 -07:00
Sam Harwell
77a7bda127
Merge pull request #696 from parrt/update-unit-tests-token-positions
...
token types bumped by 1 I assume due to recent lexer updates for 0-lengt...
2014-09-01 18:16:50 -05:00
Terence Parr
a0584a2c31
token types bumped by 1 I assume due to recent lexer updates for 0-length tokens or for channel thing?
2014-09-01 13:25:30 -07:00
Terence Parr
6e869b3e80
Merge pull request #695 from parrt/prec-filter-comments
...
add parrt summary of conversation with Sam about precedence DFA optimization
2014-09-01 13:16:23 -07:00
Terence Parr
fd194f073b
add parrt summary of conversation with Sam about precedence DFA optimization
2014-09-01 13:15:21 -07:00
Terence Parr
7bf47e1670
Merge pull request #694 from sharwell/fix-309
...
Implement channels{} block
2014-09-01 12:56:57 -07:00
Terence Parr
3ef0c84e7f
Merge pull request #690 from sharwell/fix-679
...
Fix applyPrecedenceFilter removing pruning too many configurations
2014-09-01 12:51:25 -07:00
Sam Harwell
1f7220756a
Place error 160 in the correct order in ErrorType.java
2014-09-01 13:29:12 -05:00
Sam Harwell
cacd317d02
Implement support for defining custom channels in the channels{} construct in lexer grammars ( fixes #309 )
2014-09-01 13:28:08 -05:00
Sam Harwell
e497efaa58
Support zero-length empty lexer rules with lexer commands ( fixes #687 )
2014-08-28 23:45:52 -05:00
Sam Harwell
6790b25e5b
Support zero-length tokens in the lexer ( fixes #688 )
2014-08-28 23:45:07 -05:00
Sam Harwell
0c1178bf3a
Include precedence in rule invocations when -atn is specified
2014-08-28 23:24:06 -05:00
Sam Harwell
99dd914045
Fix assignment of precedence for binary expressions with an implicit operator (e.g. testDuplicatedLeftRecursiveCall)
2014-08-28 23:23:26 -05:00
Sam Harwell
b62408067e
Update precedence filter to properly handle stepping out of left-recursive rules ( fixes #679 )
2014-08-28 23:21:32 -05:00
Terence Parr
561383c34c
Merge pull request #678 from sharwell/fix-677
...
Fix 677
2014-08-15 12:46:38 -07:00
Sam Harwell
a7f53ce396
Support list labels on the recursive atom in a left-recursive rule ( fixes #677 )
2014-08-09 11:07:15 -05:00
Sam Harwell
399a1df047
Add regression tests for #677
2014-08-09 10:55:20 -05:00