Commit Graph

5828 Commits

Author SHA1 Message Date
Mike Lischke 218ae73608 Make return states the same size as the parent array.
Both arrays have always the same size and after reducing common parents in a prediction context optimization we also have to update the states array.
2016-12-21 10:36:46 +01:00
Mike Lischke e1fb0b68c7 C++ implementation of the LR-loop optimization. 2016-12-21 09:26:08 +01:00
Mike Lischke bc9e89ec70 Removed command line option for exportMacro.
This is now handled via a grammar option.
2016-12-21 09:08:25 +01:00
Mike Lischke 7c4027118c Re-added changed exportMacro documentation (got lost on revert). 2016-12-19 18:08:33 +01:00
Mike Lischke d324e9a46b Merge branch 'master' into LR-loop-fix 2016-12-19 16:48:10 +01:00
Mike Lischke a9dc3ebd86 Merge branch 'master_upstream' 2016-12-19 16:47:39 +01:00
Terence Parr fed8c97bda Merge pull request #1524 from ericvergnaud/improve-javascript-doc
Update npm related docs
2016-12-16 09:22:53 -08:00
Terence Parr 8df5550857 Merge pull request #1511 from mike-lischke/issue-1483
Issue 1483
2016-12-16 09:22:13 -08:00
Eric Vergnaud a87df6f28a more js docs 2016-12-17 00:23:16 +08:00
Eric Vergnaud 14f0c7a663 also published to npm 2016-12-17 00:03:03 +08:00
parrt c4c2966dbd update doc 2016-12-15 20:42:29 -08:00
parrt b94ecc0fa5 update doc for new C# build 2016-12-15 14:58:52 -08:00
parrt 23313ee44e [maven-release-plugin] prepare for next development iteration 2016-12-15 14:25:41 -08:00
parrt aacd2a2c95 [maven-release-plugin] prepare release 4.6 2016-12-15 14:25:36 -08:00
Terence Parr d388e6b867 Merge pull request #1522 from parrt/ericvergnaud-publish-to-nuget
Ericvergnaud publish to nuget
2016-12-15 13:32:21 -08:00
Terence Parr 8a483987c4 Merge pull request #1523 from parrt/new-cpp-option
New cpp option
2016-12-15 13:26:14 -08:00
parrt 31726311a8 add exportMacro to list of valid grammar options. verified it works in grammar and -D on command line. 2016-12-15 13:25:02 -08:00
Mike Lischke d1b429d94c Added a new setting required by the C++ runtime.
In order to export generated classes in DLLs we need a way to specify the __declspec setting. This is is usually done via a macro that takes the import or export value. The new parameter (`-export-macro`) allows to specify this, which increases the flexibility of the generated classes.

The C++ target documentation has been extended to describe build specific things, includig this new parameter.
2016-12-15 13:11:10 -08:00
parrt 0c332f704c tweak to doc 2016-12-15 13:04:59 -08:00
parrt 7f95781321 update doc with more detail on building c# 2016-12-15 12:44:44 -08:00
parrt 586b36fe94 tweak doc. update assembly name to Antlr4.Runtime.Standard 2016-12-15 12:28:32 -08:00
parrt 3c1a34d005 add this to 'building a release doc' 2016-12-15 12:21:36 -08:00
Eric Vergnaud 321a6f2844 create and document NuGet packaging process 2016-12-15 12:01:10 -08:00
Eric Vergnaud 07f6e3a681 modify output paths 2016-12-15 12:01:10 -08:00
Eric Vergnaud cf87c2371e cleanup 2016-12-15 12:01:10 -08:00
Eric Vergnaud d4e1f80cab updated the page 2016-12-15 12:01:10 -08:00
Eric Vergnaud c78d42657e added link to the C# page 2016-12-15 12:01:10 -08:00
Terence Parr 9f948c5453 Merge pull request #1521 from parrt/KvanTTT-character_issues
Kvan ttt character issues
2016-12-15 11:56:34 -08:00
parrt 160825a86f minor reformatting. 2016-12-15 11:41:56 -08:00
parrt e0460f103b simplify; reduce indentation. 2016-12-15 11:32:48 -08:00
parrt b503838a59 simplify 2016-12-15 11:22:42 -08:00
parrt 642d06ebb2 fix typo 2016-12-15 11:15:56 -08:00
Ivan Kochurkin 5d3b99b2ee Fixed error message for EMPTY_STRINGS_AND_SETS_NOT_ALLOWED. 2016-12-15 11:08:09 -08:00
Ivan Kochurkin bc7678011d Removed CharSetWithReversedRange from runtime testsuite. 2016-12-15 11:08:09 -08:00
Ivan Kochurkin 49cec3a610 Added and improved tests for INVALID_LITERAL_IN_LEXER_SET and EMPTY_STRINGS_AND_SETS_NOT_ALLOWED. 2016-12-15 11:08:09 -08:00
Ivan Kochurkin 1d53b416ee Added tests for CHARACTERS_COLLISION_IN_SET. 2016-12-15 11:08:09 -08:00
Ivan Kochurkin 75d5db5941 Implemented CHARACTERS_COLLISION_IN_SET handling.
Implemented EMPTY_STRINGS_AND_SETS_NOT_ALLOWED for empty sets.
Improved INVALID_ESCAPE_SEQUENCE, fixes #1077
2016-12-15 11:08:09 -08:00
Ivan Kochurkin 37148ff7fa Added CHARACTERS_COLLISION_IN_SET warning.
EMPTY_STRINGS_NOT_ALLOWED rename to EMPTY_STRINGS_AND_SETS_NOT_ALLOWED.
2016-12-15 11:08:09 -08:00
Terence Parr 05e39fab8e Merge pull request #1516 from hanjoes/master
Update Swift Target Doc
2016-12-15 10:49:11 -08:00
Mike Lischke 428ff28f35 Added a new setting required by the C++ runtime.
In order to export generated classes in DLLs we need a way to specify the __declspec setting. This is is usually done via a macro that takes the import or export value. The new parameter (`-export-macro`) allows to specify this, which increases the flexibility of the generated classes.

The C++ target documentation has been extended to describe build specific things, includig this new parameter.
2016-12-15 16:44:26 +01:00
Mike Lischke 50afb22068 Merge branch 'master_upstream' 2016-12-15 09:16:26 +01:00
hanjoes 12744d40ad Update swift-target.md 2016-12-14 23:13:37 -08:00
Hanzhou Shi 03709dc879 Tweak picture size. 2016-12-14 23:11:18 -08:00
Hanzhou Shi c7e291e77b Tweak Swift target doc. 2016-12-14 22:53:34 -08:00
Hanzhou Shi bf37edf039 Tweak Swift target doc. 2016-12-14 22:50:53 -08:00
hanjoes 86ea75dcea More doc for Swift target. 2016-12-14 22:30:26 -08:00
parrt 81cb4367bb tweak doc 2016-12-14 16:41:19 -08:00
parrt e13b008626 ah. cpp should not be in main list of tests. we'll test individually. 2016-12-14 16:20:48 -08:00
parrt 484dd62a39 Merge branch 'master' of github.com:antlr/antlr4 2016-12-14 13:33:00 -08:00
parrt a68fb3a183 convert runtime URL properly to file path. 2016-12-14 13:32:21 -08:00