Commit Graph

166 Commits

Author SHA1 Message Date
parrt 2b5bb2249e [maven-release-plugin] prepare for next development iteration 2021-03-11 14:18:19 -08:00
parrt 5e5b6d35b4 [maven-release-plugin] prepare release 4.9.2 2021-03-11 14:18:13 -08:00
ericvergnaud e50ecf4961
Sanitize test code base (#3061)
* sanitize test code base and factorize common code

* fix failing tests

* fix failing tests

* fix failing tests
2021-01-29 19:54:59 +08:00
parrt 19ec50f38a [maven-release-plugin] prepare for next development iteration 2021-01-05 11:22:10 -08:00
parrt 5c2b686f95 [maven-release-plugin] prepare release 4.9.1 2021-01-05 11:22:02 -08:00
Terence Parr d063120c87
Merge pull request #3019 from KvanTTT/InvalidGeneratedCodeAndNoRulesErrorIfOnlyFragmentsAreUsed
Invalid generated code and no rules error if only fragments are used
2021-01-02 10:40:22 -08:00
Ivan Kochurkin 67f6089261 Throw error if lexer does not contain non-fragment rules, extend TestToolSyntaxErrors testA, fix #3000 2020-12-29 16:33:33 +03:00
Ivan Kochurkin b4ceb2022a Simplify structure of csharp runtime files, remove not used .sln file, use PackageIcon property instead of outdated PackageIcon in Antlr4.csproj 2020-12-28 16:17:00 +03:00
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