Commit Graph

5550 Commits

Author SHA1 Message Date
parrt 201925b2da tweak doc 2016-11-19 12:57:07 -08:00
parrt 35c6babd4a Merge branch 'harriman-issue#1295' 2016-11-19 12:49:47 -08:00
parrt ae1bc4cafe add new test for all runtimes for issue #1295 2016-11-19 12:48:09 -08:00
parrt d0620a65f5 Merge branch 'issue#1295' of git://github.com/harriman/antlr4-updates into harriman-issue#1295 2016-11-19 12:05:32 -08:00
parrt 0dcf626e8b tweak doc 2016-11-19 11:59:08 -08:00
parrt 19d956cfc2 tweak doc 2016-11-19 11:53:53 -08:00
parrt 9a027e2297 Merge branch 'sebkur-fix_typos' 2016-11-19 11:52:27 -08:00
parrt 5153154658 Merge branch 'fix_typos' of git://github.com/sebkur/antlr4 into sebkur-fix_typos 2016-11-19 11:52:17 -08:00
parrt a736e4b9ee tweak doc 2016-11-19 11:15:31 -08:00
Marco Hunsicker 31f3a57a6e Rewritten test to make it threadsafe (and Travis happy) 2016-11-18 20:19:23 +01:00
parrt a6a730405f finish binary example and update documentation 2016-11-18 09:07:40 -08:00
Marco Hunsicker 81efb0e366 Merge branch 'master' of https://github.com/antlr/antlr4 into fix_1233 2016-11-18 17:53:54 +01:00
Floor 1931ff7280 * Added a specialized ctor for Any for nullptr.
There was an inconvenience that an Any created with a nullptr returned false for isNull()
* removed warning [forcing value to bool 'true' or 'false'] when calling is<>
2016-11-18 17:24:11 +01:00
parrt c8cb2fde73 add binary test case 2016-11-17 14:56:53 -08:00
Marco Hunsicker 7d83a3aa9c More cleanup; use save Collection comparison 2016-11-17 23:29:27 +01:00
Marco Hunsicker 00347217ed More cleanup; use save Collection comparison, fix Javadoc 2016-11-17 23:27:09 +01:00
Marco Hunsicker 5f5a8949f6 Handle removed dependency 2016-11-17 23:18:04 +01:00
parrt 78155af499 add test to verify https://github.com/antlr/antlr4/issues/1369 doesn't drop two empty alts. 2016-11-17 13:25:41 -08:00
parrt 0ffb0310d2 rm dead code 2016-11-17 13:06:20 -08:00
parrt c5acec19db Move what used to be AfterGrammar template from a test in legacy runtime tests to tool test and remove from runtime test functionality. 2016-11-17 13:05:34 -08:00
parrt 125a509e4e Fixes #1369 by removing any redundant edges. 2016-11-17 12:41:32 -08:00
parrt 1aa3c957eb add test for extra atn issues. currently failing. 2016-11-17 12:27:32 -08:00
parrt 02a35589fe check errors before output value in tests 2016-11-17 11:16:37 -08:00
parrt 5adf79121f revert Go "fix" 2016-11-17 11:16:22 -08:00
parrt b4d8982e95 Merge branch 'master' of git://github.com/NoodleOfDeath/antlr4 2016-11-17 10:31:43 -08:00
Terence Parr cf5a79a5b2 Merge pull request #1362 from sridharxp/stgwotempvar
Stgwotempvar
2016-11-17 19:26:34 +01:00
parrt ba4cf0677b run tests in parallel on travis 2016-11-17 10:21:40 -08:00
Kurt Harriman ab8d17472f ANTLR4 generated incorrect code to access return value of recursive rule
Incorrect code was generated for $e.v in a rule like this one:

    e returns [int v] ::=
           INT       {$v = $INT.int;}
        | '(' e ')'  {$v = $e.v;}
        ;

After parsing "(99)" the result would have v == 0 instead of 99.
2016-11-16 22:38:11 -08:00
Kurt Harriman 3d8f81a63e update contributors.txt 2016-11-16 22:36:05 -08:00
Terence Parr c37848cfc5 Merge pull request #1366 from parrt/multi-threaded-tests
update doc, add lock so antlr used atomically in unit tests so we can run in parallel
2016-11-17 00:45:13 +01:00
parrt 9675c822a9 update doc, add lock so antlr used atomically in unit tests so we can run in parallel. 2016-11-16 15:42:45 -08:00
Terence Parr 30fbe07b2b Merge pull request #1365 from parrt/add-postfix-types-in-args
Add postfix types in args like x:T for Swift target
2016-11-16 21:42:40 +01:00
parrt 4f3c7738f3 ignore :: in C++ arg declarations; add test. 2016-11-16 12:34:14 -08:00
parrt 5aae2edb24 support x:T notation in rule arguments, update documentation, improve [...] scope parsing testing 2016-11-16 11:54:23 -08:00
hanjoes 03fa75efba differentiate prefix/postfix type decl. 2016-11-16 11:44:39 -08:00
Terence Parr 3abb193257 Merge pull request #1363 from DanMcLaughlin/master
Some fixes in the C++ runtime
2016-11-16 19:38:15 +01:00
Terence Parr 7efb6c240a Merge pull request #1364 from ericvergnaud/fix-c#-tests
enable target specific assertXxx behaviour
2016-11-16 19:37:23 +01:00
Eric Vergnaud 04a3401655 disabling legacy tests because the overall build process is too long for travis 2016-11-17 02:12:29 +08:00
Eric Vergnaud c35aec6ffe optionally delegate assertEquals to RuntimeTestSupport delegate, to enable target specific assertXxx behaviour 2016-11-17 01:11:24 +08:00
Mike Lischke 3062d09e92 Merge pull request #48 from FloorGoddijn/master
using new preprocessor macro ANTLR4CPP_DLL instead of _WINDLL
2016-11-16 15:27:11 +01:00
Mike Lischke 9ac9c1c79a Overhaul of the TokenStreamRewriter class.
Fixes bug #49.
2016-11-16 15:17:46 +01:00
Mike Lischke e5aa03c0b0 Merge branch 'master_upstream' 2016-11-16 13:31:06 +01:00
Mike Lischke af0ac9e2bb Fixed a number of mem leaks in TokenStreamRewriter.
Also added a workaround for duplicate ATN state transitions. Looks there is a problem in the ATN generation by ANTLR which needs investigation.
2016-11-16 13:27:58 +01:00
sridharxp 13fbdbb840 Sign CLA 2016-11-16 13:24:16 +05:30
sridharxp 6e09f08348 InvokeRule without Fix without Temporary variable 2016-11-16 13:14:38 +05:30
Terence Parr 56c5508a37 Merge pull request #1358 from hanjoes/master
Adding hanjoes to contributors.txt.
2016-11-16 02:22:25 +01:00
hanjoes 35782f59ad Adding hanjoes to contributors.txt. 2016-11-15 14:59:21 -08:00
Terence Parr 4290bdbaa0 Merge pull request #1357 from parrt/doc-runtimetests
Update doc on runtime tests
2016-11-15 23:26:11 +01:00
parrt d534efdf9a update doc on the runtime test mechanism. change the name of BaseDebugParserTestDescriptor to BaseDiagnosticParserTestDescriptor. 2016-11-15 14:25:28 -08:00
parrt a7ecf0332f rename the SingleTest class and and Java doc. make errors="" actually set to null to be more clear. 2016-11-15 13:42:57 -08:00