Eric Vergnaud
82c8824147
Upgrade JUnit to address dependabot security alert
2020-11-28 22:42:43 +08:00
parrt
69318d35fc
[maven-release-plugin] prepare for next development iteration
2020-11-24 12:45:28 -08:00
parrt
1364da5ed3
[maven-release-plugin] prepare release 4.9
2020-11-24 12:45:20 -08:00
parrt
59c24696ae
tweak doc
2020-11-24 12:04:45 -08:00
parrt
f1ffc01723
[maven-release-plugin] prepare for next development iteration
2020-01-18 13:37:08 -08:00
parrt
3f41f283d1
[maven-release-plugin] prepare release antlr4-master-4.8-1
2020-01-18 13:37:01 -08:00
parrt
54cb3f2018
trying to get 4.8-1 to fix release (all say 4.8-1-SNAPSHOT now)
2020-01-18 10:34:27 -08:00
parrt
a872114f61
trying to get 4.8-1 to fix release
2020-01-18 10:07:26 -08:00
parrt
6c4b491d1b
set version to 4.8-1 to fix release
2020-01-18 09:39:46 -08:00
parrt
666131841c
[maven-release-plugin] prepare for next development iteration
2020-01-16 12:24:30 -08:00
parrt
d569f91795
[maven-release-plugin] prepare release 4.8
2020-01-16 12:24:22 -08:00
parrt
441fea52b1
update to 4.3 version
2020-01-16 12:05:03 -08:00
Terence Parr
e4737db19f
Merge pull request #2582 from Diffblue-benchmarks/add-diffblue-tests2
...
Add unit tests for org.antlr.v4.misc.Utils
2019-07-26 10:19:24 -07:00
Eric Hettiaratchi
66d8bed980
Add unit tests for org.antlr.v4.misc.CharSupport
...
These tests were written using Diffblue Cover.
2019-07-25 13:42:41 +01:00
Eric Hettiaratchi
d2b087f90a
Add unit tests for org.antlr.v4.misc.Utils
...
These tests were written using Diffblue Cover.
2019-07-15 09:45:16 +01:00
parrt
70d9ddcd0a
[maven-release-plugin] prepare for next development iteration
2018-12-18 10:35:34 -08:00
parrt
be58ebffde
[maven-release-plugin] prepare release 4.7.2
2018-12-18 10:35:24 -08:00
parrt
8fab6b98b3
[maven-release-plugin] rollback the release of 4.7.2
2018-12-18 10:33:52 -08:00
parrt
573cb86705
[maven-release-plugin] prepare release 4.7.2
2018-12-18 10:31:44 -08:00
Ivan Kochurkin
2f7c5bfe4a
Add AssignTokenNamesToStringLiteralsInGeneratedParserRuleContexts and AssignTokenNamesToStringLiteralArraysInGeneratedParserRuleContexts unit-tests
2018-11-18 15:54:20 +03:00
nxtstep
36621bda6d
Fix ST4 Snapshot dependency
2018-11-15 00:13:02 +01:00
parrt
7591bf1705
updated ST version
2018-11-08 12:27:38 -08:00
parrt
17b6277502
[maven-release-plugin] prepare for next development iteration
2017-12-09 12:04:26 -08:00
parrt
bdc05c87be
[maven-release-plugin] prepare release 4.7.1
2017-12-09 12:04:17 -08:00
Terence Parr
489a11b7a2
Merge pull request #2066 from KvanTTT/unreachable-tokens
...
New unreachable token value warning
2017-12-06 12:35:53 -08:00
Nicolas
d2685bf37f
Add a test case for merging clashing channel names during import.
2017-12-04 17:35:08 +13:00
Nicolas
0301bb946c
Add a test case for importing modal lexers into a composite grammar. The
...
test case demonstrates an error is produced (due to importing modes into a
composite grammar).
2017-11-30 23:24:11 +13:00
Nicolas
d02844c813
This is one implementation addressing issue 160.
...
Change to support import of lexer grammars containing modes into other
lexer grammars. The semantics for this are,
* sets of channels from all grammars are merged
* rules of modes found in an imported grammar which are in the root
grammar are merged into the root grammar mode.
* modes which are not in the root grammar are added to the root
grammar, excluding modes which become empty due to a re-definition of
rules in the root grammar.
2017-11-28 21:57:57 +13:00
Ivan Kochurkin
763eccc2a4
Added tests with escaped characters.
2017-11-25 16:24:13 +03:00
Ivan Kochurkin
64b2ced763
Added check for fragment rules.
2017-11-25 16:24:13 +03:00
Ivan Kochurkin
9324d0716b
Extend and fix unit tests.
2017-11-25 16:24:13 +03:00
Ivan Kochurkin
585325fe12
Added testUnreachableTokens unit-test.
2017-11-25 16:24:13 +03:00
Ivan Kochurkin
7dc17ace6e
Distinct error codes, added unit-test. fixes #1865 .
2017-05-14 13:23:53 +03:00
parrt
f858cd5948
Fixes #1815 (for real this time!). Fix text set for erroneous escapes so tool doesn't fail later. Remove some duplicate error messages. Add test for #1815 .
2017-04-06 14:34:37 -07:00
parrt
80aa7907a4
Fixes #1815 . Add info on what the invalid escape is. Match \x for any x but give error. This prevents \x from appearing like a sequence of 2 char. Updated unit tests.
2017-04-06 10:26:03 -07:00
parrt
62baf4bd0a
[maven-release-plugin] prepare for next development iteration
2017-03-30 14:11:59 -07:00
parrt
d4d7e3d3bc
[maven-release-plugin] prepare release 4.7
2017-03-30 14:11:49 -07:00
parrt
b5648f405b
tweak documentation about various targets
2017-03-30 10:44:28 -07:00
Ben Hamilton
8108b342ad
Change UnbufferedCharStream to use 32-bit Unicode code points and 32-bit buffer
2017-03-29 13:14:18 -07:00
Terence Parr
1f6a329692
Merge pull request #1765 from bhamiltoncx/unicode-cleanup-and-doc
...
Tidy up CharStreams and add new doc/unicode.md
2017-03-16 17:03:06 -07:00
Ben Hamilton
4f2168600d
Tidy up CharStreams API. Add new doc/unicode.md
2017-03-16 17:01:46 -06:00
Ben Hamilton
c71b7d2f18
EmojiDefault and TextDefault
2017-03-14 13:27:01 -06:00
Ben Hamilton
3219f1c77d
Extended Pictographic
2017-03-13 15:40:51 -06:00
Ben Hamilton
6007132e2e
Also support Unicode enumerated properties via \p{East_Asian_Width=Ambiguous} escape
2017-03-08 09:43:50 -08:00
Ivan Kochurkin
e3f85774a4
Reverted unterminated ranges: [+-], [-+].
2017-03-03 21:35:31 +03:00
Ivan Kochurkin
b3e667c619
Fixed escaped charactes in error messages.
2017-03-03 16:44:41 +03:00
Ivan Kochurkin
d59d193252
CharSupport code improved and cleared.
...
Tests fixed.
2017-03-03 16:44:41 +03:00
Ivan Kochurkin
e1ec6a4222
Fixed line break in test.
2017-03-03 13:44:44 +03:00
Ivan Kochurkin
a1c50de31f
Improved testInvalidCharSetsAndStringLiterals test with invalid char sets, fixed Java.g4 grammar: [+-] -> [+\-]
2017-03-03 13:41:36 +03:00
Ivan Kochurkin
c5f9d5e2a1
More accurate escaping (different symbols for string literals (') and char sets(]-)).
...
Improved testInvalidCharSetsAndStringLiterals test.
2017-03-02 18:16:05 +03:00