Sam Harwell
fbd31f38fe
Merge pull request #646 from parrt/refactor-version
...
Refactor RuntimeMetaData for reuse of code. Make Target check only major/minor version.
2014-06-28 21:10:29 -05:00
Terence Parr
8937e0d16e
repl space with tabs.
2014-06-28 14:56:47 -07:00
Terence Parr
4acb1091de
refactor for reuse, make target check majorminor only.
2014-06-28 14:55:34 -07:00
Sam Harwell
b6311928c1
Merge pull request #637 from sharwell/release/4.3
...
Release/4.3
2014-06-18 21:28:24 -05:00
Sam Harwell
7d88b0106a
[maven-release-plugin] prepare for next development iteration
2014-06-18 21:25:44 -05:00
Sam Harwell
201eeb147d
[maven-release-plugin] prepare release 4.3
2014-06-18 21:24:24 -05:00
Terence Parr
3e6e218f46
Merge pull request #636 from sharwell/consistent-versions
...
Consistent versions
2014-06-18 17:56:31 -07:00
Sam Harwell
bbac283ba2
Add @since documentation to key new exposed API types/methods
2014-06-18 19:48:07 -05:00
Sam Harwell
a72058bc67
Update dependency versions
2014-06-18 19:37:30 -05:00
Sam Harwell
3378be9c79
Update all version numbers for consistency prior to the 4.3 release
2014-06-18 19:37:29 -05:00
Terence Parr
db1f8e6499
Merge pull request #635 from sharwell/relax-versioning
...
Relax versioning
2014-06-18 17:11:18 -07:00
Sam Harwell
6949e832d9
Updated comments to clarify recent changes in code
2014-06-18 19:12:26 -05:00
Sam Harwell
7b88a6dbeb
Update the assignment of Tool.VERSION ( fixes #634 )
...
* Reference RuntimeMetaData.VERSION so there are fewer version numbers to update during a release
* Assign the value in a static initializer so it's not a compile-time constant
2014-06-18 17:43:47 -05:00
Sam Harwell
2be522f009
Relax the default version mismatch listener to only throw an exception if the major or minor version components do not match
2014-06-18 17:41:28 -05:00
Sam Harwell
f7a840c764
Move RuntimeMetaData.VERSION field to the top of the source file
2014-06-18 17:07:43 -05:00
Sam Harwell
6701202f66
Merge pull request #631 from sharwell/javadoc-issues
...
Fix documentation errors reported during the build
2014-06-17 06:33:09 -05:00
Sam Harwell
8809cc4950
Fix documentation errors reported during the build
2014-06-17 06:35:11 -05:00
Terence Parr
17128d6486
Merge pull request #630 from sharwell/fix-571
...
Remove ability to reference enclosing rule by name, in favor of $ctx
2014-06-16 16:38:40 -07:00
Sam Harwell
fab3a83107
Remove ability to reference enclosing rule by name, in favor of always using $ctx ( fixes #571 )
2014-06-16 18:06:09 -05:00
Terence Parr
91752af88d
Merge pull request #623 from parrt/fix-set-subtract
...
getMinElement now supports values < 0. Checked and shouldn't affect any...
2014-06-16 12:41:50 -07:00
Sam Harwell
2920ad0d1a
* Updated documentation for IntSet
...
* Reimplemented IntervalSet.subtract and IntervalSet.complement to operate over the complete range of supported values
* Expanded several methods in IntervalSet to operate on any IntSet
* Mark COMPLETE_CHAR_SET and EMPTY_SET as read-only
2014-06-16 14:23:52 -05:00
Terence Parr
0575c59fc6
Merge pull request #629 from sharwell/fix-542
...
Consistent handling of element options applied to alternatives
2014-06-16 10:44:35 -07:00
Sam Harwell
6eeafacb88
Consistent handling of element options applied to alternatives ( fixes #542 )
2014-06-16 12:41:31 -05:00
Terence Parr
a113e33eec
Merge pull request #628 from sharwell/fix-625
...
Support multiple epsilon elements at the end of LR alternatives
2014-06-16 10:15:14 -07:00
Sam Harwell
a812c32a22
Support multiple epsilon elements at the end of a left-recursive rule alternative ( fixes #625 )
2014-06-16 12:08:56 -05:00
Sam Harwell
9cbf473195
Add regression tests for #625
2014-06-16 12:08:56 -05:00
Terence Parr
8f08802716
Merge pull request #626 from sharwell/fix-622
...
Fix edge case behavior of nextTokenOnChannel and previousTokenOnChannel
2014-06-16 09:59:51 -07:00
Sam Harwell
e311ec63b4
Fix edge case behavior of nextTokenOnChannel and previousTokenOnChannel ( fixes #622 , fixes #544 )
2014-06-16 11:39:16 -05:00
Terence Parr
37bdd8d363
Merge pull request #627 from sharwell/fix-603
...
Update documentation for ANTLRErrorListener
2014-06-16 08:35:38 -07:00
Sam Harwell
3574cbd94b
Add an additional note about the relation between reportContextSensitivity and reportAmbiguity
2014-06-16 00:01:42 -05:00
Sam Harwell
64b6408e4a
Update documentation for ANTLRErrorListener ( fixes #603 )
2014-06-15 23:56:50 -05:00
Terence Parr
51430018d0
getMinElement now supports values < 0. Checked and shouldn't affect any uses. subtract() from set with EOF, wiped out all negative values. added tests.
2014-06-14 13:14:32 -07:00
Terence Parr
633d4e2e19
Merge pull request #620 from sharwell/fix-543
...
Fix documentation comments generated for labeled alternatives
2014-06-10 16:45:21 -07:00
Terence Parr
662ef9bfac
Merge pull request #619 from sharwell/sempred
...
Updated documentation and add argument validation assertion for SemPred
2014-06-10 16:44:23 -07:00
Terence Parr
63069a571d
Merge pull request #618 from sharwell/fix-563
...
Fix cases where file encoding was not handled properly in the tool
2014-06-10 16:43:51 -07:00
Terence Parr
8abe81aaa6
Merge pull request #621 from parrt/token-names-vs-literals-fix
...
errors should display literal if no token name avail.
2014-06-10 16:37:33 -07:00
Sam Harwell
0c0fd67082
Merge pull request #616 from parrt/test-profiler-with-generated-code
...
test profiler with generated code. dump profile information using toStri...
2014-06-10 18:05:24 -05:00
Terence Parr
a1c0319b41
test profiler with generated code. dump profile information using toString as dump() no longer available.
2014-06-10 18:04:12 -05:00
Terence Parr
0355f17f04
errors should display literal if no token name avail.
2014-06-10 15:47:28 -07:00
Sam Harwell
00f95b4a29
Fix documentation comments generated for labeled alternatives ( fixes #543 )
2014-06-10 17:34:04 -05:00
Sam Harwell
50cc4ac736
Updated documentation and add argument validation assertion for SemPred
2014-06-10 17:33:31 -05:00
Sam Harwell
156696be18
Fix cases where file encoding was not handled properly in the tool ( fixes #563 )
2014-06-10 17:32:59 -05:00
Terence Parr
fdc46c53e6
Merge pull request #617 from sharwell/fix-588
...
Fix 588
2014-06-10 15:09:34 -07:00
Sam Harwell
9e7b13105d
Fix optimizer incorrectly removing predicate transitions from the ATN ( fixes #588 )
2014-06-10 16:32:01 -05:00
Sam Harwell
e4fa8f75d4
Add regression test for #588
2014-06-10 16:31:16 -05:00
Sam Harwell
58c1ad6cb8
Refactor shared load() method to BaseTest
2014-06-10 16:30:48 -05:00
Terence Parr
4aa3556f1c
set ant build for 4.3 using 4.2.2 (and 3.5.2)
2014-06-10 13:03:46 -07:00
Terence Parr
403e8231c0
I have removed all of the installation and getting started stuff from the readme and pointed them to the wiki which is easier to update.
2014-06-10 12:57:39 -07:00
Terence Parr
358a1025d2
tweaks per Sam's comments. Just pushing straight to master.
2014-06-10 11:28:43 -07:00
Terence Parr
d94ce39d09
Merge pull request #613 from ericvergnaud/add-contributor
...
add eric to contributors
2014-06-07 13:42:06 -07:00