Commit Graph

5732 Commits

Author SHA1 Message Date
parrt 9cfb6890a5 add test scope to runtime test pom 2016-12-10 15:24:07 -08:00
parrt f2f54f0fd5 manually doing similar cleanup to https://github.com/antlr/antlr4/pull/1467 2016-12-10 15:19:45 -08:00
Terence Parr 8ed3e1303d Merge pull request #1485 from parrt/rm-legacy-tests
rm legacy tests
2016-12-10 15:16:10 -08:00
parrt 9b29cfe4e4 rm legacy tests 2016-12-10 15:14:39 -08:00
Terence Parr 89bfd56a76 Merge pull request #1484 from parrt/fix-1042
Fixes #1042
2016-12-10 14:51:42 -08:00
parrt f13b09eb3d Fixes #1042 2016-12-10 14:51:17 -08:00
Terence Parr a6e7a72ac7 Merge pull request #1483 from parrt/fix-1073
Fix #1073. Better token output.
2016-12-10 14:35:23 -08:00
parrt e65154c161 Fix #1073. Better token output. 2016-12-10 14:34:50 -08:00
parrt 0a7e90fe8e fix #1177 (LB(k) stops at index 0) @antlr/antlr-targets might care about this 2016-12-10 14:05:31 -08:00
parrt 9ef75603ce improve comment 2016-12-10 10:45:04 -08:00
Terence Parr 1de7d7e0d6 Merge pull request #1481 from parrt/fix-1480
Fix 1480 (getExpectedTokens missing token from FOLLOW)
2016-12-10 10:34:11 -08:00
parrt 35e02997f2 improve test 2016-12-10 10:32:18 -08:00
parrt 2053143665 fix test so it correctly illustrates bug 1480, which was fixed apparently by https://github.com/antlr/antlr4/pull/1477 2016-12-10 10:03:44 -08:00
Terence Parr 9f51ec1e6b Merge pull request #1477 from parrt/fix-1203
fix LL1 analyzer
2016-12-10 09:52:48 -08:00
gaulouis e377b03506 Fix special template for org.antlr.v4.test.runtime.cpp.TestParseTrees 2016-12-10 04:59:41 +01:00
gaulouis 822e3762a0 Fix special template for tests 2016-12-10 04:42:09 +01:00
parrt 0eb27279de fix LL1 analyzer 2016-12-09 18:07:47 -08:00
Renata Hodovan 58d51450d4 Implement the fix of #1298 for Python targets.
The patch adapts the fix in PR #1472 for Python targets.
2016-12-10 02:41:08 +01:00
Terence Parr 82372aae2c Merge pull request #1460 from renatahodovan/intervalset-range-fix
Fix AttributeError when trying to write an immutable variable in Python.
2016-12-09 16:05:11 -08:00
Terence Parr 3a6ffafec3 Merge pull request #1472 from parrt/fix-1298
Fix 1298
2016-12-09 15:31:07 -08:00
parrt 85b609a951 make non-Java targets ignore new test 2016-12-09 14:07:18 -08:00
gaulouis 258b1a4a38 Redo dynamic cast 2016-12-09 21:37:52 +01:00
parrt eb8e2890c3 copyFrom copies error nodes over. Fixes #1298 2016-12-09 11:10:26 -08:00
Renata Hodovan bd09023209 Call visitErrorNodes properly in Python targets.
The consume method of the Parser class calls visitTerminal on both
TerminalNodes and ErrorNodes even if the comment above states that
ErrorNodes should be visited by visitErrorNodes. This behaviour
is also inconsitent with the Java target. The patch fixes this in
both Python targets.
2016-12-09 19:41:23 +01:00
parrt 53918ab41e add unit test for #1298 2016-12-09 10:19:31 -08:00
parrt 661c87b47c update comment 2016-12-09 09:49:56 -08:00
gaulouis e9859bcd2f Fix unnecessary cast 2016-12-09 18:43:07 +01:00
gaulouis ea53dac7b7 Fix antlr4:: namespace pollution in Lexer/Parser headers 2016-12-09 18:35:55 +01:00
parrt 337adffa03 add expected token tests 2016-12-09 09:24:24 -08:00
gaulouis af95045362 Fix conflict lexer command in CppTarget demo 2016-12-09 17:32:28 +01:00
gaulouis 9c70b3b4ac Fix compilation error 2016-12-09 16:09:30 +01:00
Terence Parr 3e97e64651 Merge pull request #1466 from parrt/move-api-test-to-runtime-testsuite
move api lib test to runtime tests
2016-12-08 14:39:51 -08:00
parrt e46db41bbd move api lib test to runtime tests 2016-12-08 14:37:13 -08:00
Terence Parr 2dddd007e4 Merge pull request #1462 from pboyer/lafix
Fix for #1459
2016-12-08 12:19:14 -08:00
parrt edd5bdd093 tweak PR template 2016-12-08 11:54:07 -08:00
Terence Parr 11117e02d4 Merge pull request #1458 from KvanTTT/mixed_type_labels_1409
Check labels for tokens with different types
2016-12-08 11:47:09 -08:00
Terence Parr 9e2c0f76f9 Merge pull request #1450 from parrt/update-copyright
Update/add copyright notices on all files for all targets
2016-12-08 11:43:37 -08:00
parrt 2c99f187a0 make it read "Copyright (c) 2012-2016 The ANTLR Project" 2016-12-08 11:43:06 -08:00
parrt 1b1a9862c4 contributors->authors 2016-12-08 11:43:06 -08:00
parrt 61e8eba4fc fix typo 2016-12-08 11:43:06 -08:00
parrt 03925a2753 add copyrights on go 2016-12-08 11:40:30 -08:00
parrt 03c2426e9c add/update copyrights on swift. @janyou, I removed your jlabs copyright notice, replacing with antlr project copyright per contributors.txt 2016-12-08 11:40:30 -08:00
parrt 43370a6e12 add copyrights on csharp 2016-12-08 11:40:30 -08:00
parrt ca144945ac update copyrights on csharp 2016-12-08 11:40:30 -08:00
parrt adadf567cc add copyrights on js 2016-12-08 11:40:30 -08:00
parrt 0b7c7f1333 update copyrights on js 2016-12-08 11:40:30 -08:00
parrt 422ce92931 add copyrights on Cpp 2016-12-08 11:40:30 -08:00
parrt e6b2e1916b update copyrights on Cpp 2016-12-08 11:40:30 -08:00
parrt c0e4f07602 add copyrights on Python3 2016-12-08 11:40:30 -08:00
parrt fed78dbd28 update copyrights on Python3 2016-12-08 11:40:30 -08:00