Eric Vergnaud
26c409103d
Fix #1217
...
The root cause was that ATNConfigSet was not using he required custom hashing strategy for ParserATNSimulator.
The commit includes a number of additional fixes, related to code that was never executed before due to the root cause.
A similar issue is also likely to exist in the JavaScript runtime, I'll fix it later.
2016-06-23 15:51:39 +02:00
parrt
cd0913712a
set code string versions to 4.5.3
2016-03-30 16:21:50 -07: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
Terence Parr
c92ddcbd06
update version to 4.5.2 in source / packaging stuff.
2016-01-30 09:54:47 -08:00
parrt
5299d436aa
Merge branch 'patch-1' of git://github.com/cooperra/antlr4 into cooperra-patch-1
...
# Conflicts:
# contributors.txt
2016-01-28 10:47:03 -08:00
Terence Parr
8a4aa39de2
fix links
2015-11-23 16:19:45 -08:00
hkff
e051b1a0f8
Fixing BufferedTokenStream.getTokenStream() calls
2015-10-21 16:34:44 +02:00
hkff
0e09f8b659
Adding getTokenSource in BufferedTokenStream
2015-10-21 14:15:57 +02:00
Eric Vergnaud
3e807138d5
local replica of #1010
2015-10-05 21:28:30 +08:00
Eric Vergnaud
27855f7ed4
remove slow asserts
2015-08-26 23:43:03 +08:00
Eric Vergnaud
d7d59c53a7
more tuning
2015-08-26 23:42:14 +08:00
Eric Vergnaud
1b3f74495f
typo
2015-08-26 23:41:21 +08:00
Eric Vergnaud
980072b6b4
more tuning
2015-08-26 23:40:14 +08:00
Eric Vergnaud
1b5437aeab
more tuning
2015-08-26 23:39:04 +08:00
Eric Vergnaud
2f4f36d60c
typos
2015-08-26 02:14:19 +08:00
Eric Vergnaud
164a34ba6e
use native tuple hash instead of str hash
2015-08-26 01:17:23 +08:00
Eric Vergnaud
cfb557cc90
add performance test
2015-08-26 01:15:59 +08:00
Robbie Cooper
3c08f49a1a
Fix NameError in LexerATNSimulator.reset()
...
Without this line, one gets "NameError: name 'Lexer' is not defined" when calling reset(). This is the same way __init__() assigns self.mode.
2015-08-05 02:31:57 -04:00
parrt
ad6a1bda3f
rm generated files, update a manifest
2015-07-17 12:43:41 -07:00
Terence Parr
5d2d75d2e3
looks like i had python2 and 3 swapped. java, python3, c# pass. python2, js each have same single test failing: testCharSetWithQuote1
2015-06-29 18:09:37 -07:00
parrt
d1f95085fe
all Python3 runtime tests pass. Using same "get resource" mechanism to find runtime python code as I did for C#.
2015-06-29 18:09:35 -07:00