Commit Graph

4901 Commits

Author SHA1 Message Date
Renata Hodovan 7562bb3b45 Add missing default pass statements to Python targets.
The default pass statements were missing from the LL1AltBlock's
template in case of Python targets, which generated conditional statements
without body in some cases and ended in syntax error. The patch fixes this.
2016-04-13 21:21:07 +02:00
Terence Parr 14f05bbcc6 Update releasing-antlr.md 2016-03-30 16:59:48 -07:00
Terence Parr b9ed52ecd9 Update releasing-antlr.md 2016-03-30 16:51:40 -07:00
parrt b92f22769e [maven-release-plugin] prepare for next development iteration 2016-03-30 16:25:49 -07:00
parrt 567fcc6311 [maven-release-plugin] prepare release antlr4-master-4.5.3 2016-03-30 16:25:45 -07:00
parrt cd0913712a set code string versions to 4.5.3 2016-03-30 16:21:50 -07:00
parrt 91560f7035 tweak doc 2016-03-30 16:06:11 -07:00
parrt 3d21617e30 need blank ctor 2016-03-30 13:11:33 -07:00
parrt 148aedc400 back out change to python versions in travis 2016-03-30 13:04:33 -07:00
parrt 9352c9cf6d force 3.5 python to see if we can get travis to work. 2016-03-30 11:32:40 -07:00
parrt 75da31b3b2 spit out python versions 2016-03-30 11:32:14 -07:00
parrt 0c971a1cd7 try specifying pythons in travis file 2016-03-30 11:26:49 -07:00
parrt b78e0e9c1e add test and a guard in action translator. minor. Relates to https://github.com/antlr/antlr4/issues/1143 2016-03-30 11:17:57 -07:00
Terence Parr cbef19c2b6 Merge pull request #1154 from parrt/add-alt-num-to-trees
Add ability to set parse tree internal node super class with option c…
2016-03-30 18:03:25 +00:00
parrt 9e98714a1d Add ability to set parse tree internal node super class with option contextSuperClass. Provide impl in Java target that has altNum backing field. Add test across targets to set/get alt num. Fixes #1152. 2016-03-30 11:00:47 -07:00
parrt 7d16438a19 only gen "set stop token" if finally/after actions exist. 2016-03-30 09:48:33 -07:00
Terence Parr b05d86c150 Merge pull request #1131 from gagern/setStopToken
Set stop token in postamble
2016-03-30 16:43:07 +00:00
Terence Parr 9c440c5b89 Merge pull request #1139 from dtymon/06_fix_SemanticPredicate
JS: SemanticPredicate should be SemanticContext
2016-03-30 16:39:18 +00:00
Terence Parr 4deb708cd8 Merge pull request #1138 from dtymon/05_fix_OR_toString
JS: Fix copy-and-paste error in OR SemanticContext toString() method
2016-03-30 16:39:08 +00:00
Terence Parr 0c804f0a28 Merge pull request #1137 from dtymon/04_lexerActionExecutor_equals
JS: Do deep Actions array comparison in LexerActionExecutor equals()
2016-03-30 16:38:56 +00:00
Terence Parr 69ff2669ee Merge pull request #1117 from ericvergnaud/python-del-keyword
added missing del keyword to Python targets
2016-03-30 02:29:51 +00:00
parrt 196c4d5913 argh! cutt out too much last push 2016-03-29 16:46:48 -07:00
parrt 3a48085f90 a piece of another branch snuck in! del. 2016-03-29 16:45:17 -07:00
parrt 90d753b08a Add getMaxTokenType for C# vocab object like https://github.com/antlr/antlr4/pull/1146 2016-03-29 16:14:53 -07:00
parrt d9272ed979 use python 3.5 not 3.4 2016-03-29 16:05:50 -07:00
parrt 5cdca22518 Merge branch 'msteiger-fix-904' 2016-03-29 16:02:56 -07:00
parrt ac1637c0bd add get max token type to vocab. 2016-03-29 16:02:33 -07:00
parrt 1356186f65 add get max token type to vocab. 2016-03-29 15:55:02 -07:00
parrt d74e6f4f6a Merge branch 'master' of github.com:antlr/antlr4 2016-03-29 15:34:45 -07:00
parrt bf6e807ef4 Merge branch 'michaelpj-left-recursive-prefix-alternatives' 2016-03-29 15:33:47 -07:00
parrt f36e77fc2a use latest python 2016-03-29 15:33:22 -07:00
parrt eeea98c00b tweak to michaelpj's PR; alter name. Indicate this fixes #1048. 2016-03-29 15:28:36 -07:00
parrt f2cbc6eb7c Merge branch 'left-recursive-prefix-alternatives' of git://github.com/michaelpj/antlr4 into michaelpj-left-recursive-prefix-alternatives 2016-03-29 15:23:59 -07:00
Terence Parr 20ad4bce7d Merge pull request #1127 from gagern/patch-1
Format feature parity table as markdown table
2016-03-29 22:11:09 +00:00
parrt 1beb8feb4f add "return" to python3 keywords 2016-03-29 14:44:17 -07:00
parrt 41a196082d Merge branch 'master' of github.com:antlr/antlr4 2016-03-29 14:40:17 -07:00
Terence Parr 9655a92d50 Merge pull request #1149 from Wingpad/master
Fixing Issue #1148
2016-03-29 21:39:43 +00:00
Terence Parr 8725a8ac94 Merge pull request #1140 from dtymon/07_fix_falsey_alt
JS: ATNConfig can incorrectly change "alt" of 0 to null
2016-03-29 21:38:43 +00:00
Terence Parr c123a48de2 Merge pull request #1153 from reitzig/patch-2
Update contributors.txt
2016-03-29 21:34:54 +00:00
Terence Parr 65341a3020 Merge pull request #1116 from reitzig/patch-1
Fixes Markdown table in targets.md
2016-03-29 16:14:30 +00:00
Raphael R 7b9a7b5ec5 Update contributors.txt 2016-03-29 10:47:18 +02:00
parrt cd9ed40ab0 Merge branch 'master' of github.com:antlr/antlr4 2016-03-28 15:32:42 -07:00
Terence Parr 4bc7083523 Merge pull request #1130 from gagern/javadoc
Fix Javadoc errors
2016-03-28 22:30:55 +00:00
Martin von Gagern 10756477ce Signing contributors.txt 2016-03-28 23:46:58 +02:00
Martin von Gagern 2c71663a97 Fix Javadoc errors
This fixes all errors (but not the numerous warnings) reported by
Oracle JDK 1.8.0_72 in a simple run of “mvn javadoc:javadoc”.
2016-03-28 23:46:18 +02:00
parrt e4a4253219 more impl of get/set alt num; update doc 2016-03-28 14:10:29 -07:00
Martin Steiger 420f4e0282 Update contributors.txt
Added msteiger
2016-03-28 22:10:36 +02:00
Martin Steiger 6ca812e255 Add Vocabulary.getMaxTokenType() 2016-03-28 22:08:31 +02:00
parrt fa10ca678f add method to RuleContext 2016-03-28 11:35:44 -07:00
Terence Parr 67c0ff5d78 Merge pull request #1151 from beardlybread/master
documentation typos
2016-03-28 18:12:56 +00:00