Commit Graph

7403 Commits

Author SHA1 Message Date
miliu 4a8eca579e resolve comments 2019-09-29 20:46:30 -07:00
miliu 1736cdd3a1 Merge branch 'miliu/fixbyhashcode' into miliu/fixjscache 2019-09-29 13:59:18 -07:00
miliu 16ce0848fe Revert "fix cache issue"
This reverts commit 5d4c1e2b3b.
2019-09-29 13:58:30 -07:00
miliu 033bb7f8c5 fix toString() 2019-09-29 13:57:20 -07:00
Mingyang Liu 294d460aae add to contributor list 2019-09-28 07:57:36 -07:00
Mingyang Liu 5d4c1e2b3b fix cache issue 2019-09-28 07:53:19 -07:00
Terence Parr 7982187134
Merge pull request #2633 from ericvergnaud/fix-javascript-hashing-bug
Fix javascript hashing bug
2019-09-22 08:47:01 -07:00
Terence Parr 818c6be691
Merge branch 'master' into fix-javascript-hashing-bug 2019-09-22 08:46:37 -07:00
Terence Parr 8bcbea425b
Merge pull request #2615 from kaz/case-insensitive-lexing
Improve case insensitive lexing code
2019-09-19 10:26:18 -07:00
Marcos Passos 24870012f5 Remove redundant assignment, optimize autoloading and tweak code style 2019-09-18 16:36:57 -03:00
Kazuki Sawada b8ca3d0b14
Update contributors.txt 2019-09-17 23:34:35 +09:00
Kazuki Sawada c097636a9b
case-insensitive-lexing: add implementation for Python2/Python3 2019-09-17 23:33:11 +09:00
Kazuki Sawada 013dca5d7d
case-insensitive-lexing: Golang: make direct-importing possible 2019-09-17 23:33:11 +09:00
Kazuki Sawada 91f4b89ee6
case-insensitive-lexing: FIX javascript implementation does not work 2019-09-17 23:33:11 +09:00
Kazuki Sawada bc5586d708
case-insensitive-lexing: update doc: fix link to implementations 2019-09-17 23:33:11 +09:00
Terence Parr 06705edafd
Merge pull request #2645 from marcospassos/php-target
PHP Target
2019-09-14 08:34:29 -07:00
Marcos Passos 789d746636 PHP Target 2019-09-14 09:39:58 -03:00
neko1235 f88f763983
Remove the match_calls counter
This fixes the potential data race caused by unsynchronized concurrent access.
2019-09-10 22:44:42 -07:00
neko1235 db0a57c6ee
Increment match_calls atomically
This ensures the correctness of the counter value, i.e. the value is the number of calls to the match() method.
2019-09-10 21:16:49 -07:00
neko1235 f11ce46ddf
Update contributors.txt 2019-09-10 16:08:49 -07:00
neko1235 e2b1ae7c79
Fix data race in LexerATNSimulator
There is a potential memory consistency problem.
2019-09-10 16:01:16 -07:00
Terence Parr cd81586d3d
Merge pull request #2613 from ImanHosseini/patch-1
Fixed TextIO compatibility with 3.6+
2019-09-10 08:19:33 -07:00
Terence Parr e38762e892
Merge branch 'master' into patch-1 2019-09-10 08:19:21 -07:00
Iman Hosseini 3c1231738e
Update contributors.txt 2019-09-10 02:29:13 -04:00
Terence Parr 05f8aaca98
Merge pull request #2638 from JohnnyonFlame/master
General XPath fixes for the Python3 runtime
2019-09-06 10:32:29 -07:00
João Henrique ae28213343 Python3 XPath: Use Token.INVALID_TYPE instead of -1 on getXPathElement 2019-09-05 14:29:25 -03:00
João Henrique b0eb1825fb Spaces/Tabs mishap 2019-09-04 16:43:12 -03:00
João Henrique 8da2ce3044 Added XPath test on Python3 target 2019-09-04 16:02:39 -03:00
João Henrique f15a9f7628 Prevent XPath from returning the same node multiple times in Python3 2019-09-04 15:53:02 -03:00
João Henrique ae2a689a68 Fixed missing XPathLexer.STRING case 2019-09-04 15:33:24 -03:00
João Henrique 4c2f091e8c Style touch-ups on Python3 XPath implementation 2019-09-04 14:34:19 -03:00
João Henrique ff1283affb General XPath fixes for the Python3 runtime 2019-09-03 19:21:42 -03:00
Ewan Mellor f0ef1f4433
Remove unused macros from test templates.
Remove unused DeclareLocal and PlusMember macros from *.test.stg.
DeclareLocal was last used in 5c5228 (June 2015) and PlusMember was
last used in 7f16fe6 (Nov 2016).
2019-09-01 17:18:53 -07:00
Eric Vergnaud 0de9612e5d adding original contributor 2019-08-24 02:10:12 +08:00
Eric Vergnaud 56eb0a3fab fix 2 erroneous calls, thanks @akaJes 2019-08-24 01:47:12 +08:00
Eric Vergnaud 3e258c5d9d avoid hashCode == 0 2019-08-24 01:46:11 +08:00
Eric Vergnaud 165dfa2b70 use same hash code whether readOnly or not 2019-08-24 01:45:31 +08:00
Eric Vergnaud badee1ffe1 fix minor issue in deserializer 2019-08-24 01:44:53 +08:00
Eric Vergnaud 32470dbab4 align on other runtimes 2019-08-24 01:44:36 +08:00
Mike Lischke 6b170d647e Merge branch 'master-upstream' 2019-08-21 10:35:20 +02:00
Mike Lischke 91a50749f9 Added cmake build informations as reported in antlr4/#2606 2019-08-21 10:34:21 +02:00
Terence Parr b43a4c3a80
Merge pull request #2627 from ericvergnaud/fix-#2625
Fix #2625
2019-08-19 07:58:18 -07:00
Eric Vergnaud 7fa06602b9 @parrt fixed 2019-08-19 22:37:23 +08:00
Eric Vergnaud c4d319d11a temporarily disable other builds 2019-08-19 22:07:14 +08:00
Eric Vergnaud b50635625e add cmd line option 2019-08-19 22:06:58 +08:00
Terence Parr 2ce2ef89d3
Merge pull request #2460 from mike-lischke/master
Some non-code changes in C++ runtime
2019-08-18 07:58:10 -07:00
Mike Lischke d93857c8fe Applied recommended settings after XCode upgrade. 2019-08-18 12:27:50 +02:00
Mike Lischke 8651498f41 Merge branch 'master-upstream' 2019-08-18 11:18:41 +02:00
Iman Hosseini d667b90bc9
Fixed TextIO compatibility with 3.6+
Fixing this issue: https://github.com/antlr/antlr4/issues/2611 (and probably https://github.com/antlr/antlr4/issues/2193)
TextIO has moved since Python 3.6 so it should be imported considering the change for new versions.
2019-07-28 02:25:42 +04:30
Terence Parr e4737db19f
Merge pull request #2582 from Diffblue-benchmarks/add-diffblue-tests2
Add unit tests for org.antlr.v4.misc.Utils
2019-07-26 10:19:24 -07:00