Commit Graph

7325 Commits

Author SHA1 Message Date
liuxinfeng cf0658a6ab update date 2019-11-11 21:39:04 +08:00
jerry_liu fa4b498fc2 Add pretty print AST 2019-11-11 21:33:04 +08:00
Terence Parr 3fcb6da1f6
Merge pull request #2529 from a-square/master
Fixed -Wreorder warning
2019-10-31 12:42:50 -07:00
Alexei Averchenko 4f86ad5c17
Merge branch 'master' into master 2019-10-31 18:15:30 +03:00
Terence Parr 0424981f4e
Merge pull request #2667 from mike-lischke/issue-2037
Another attempt at solving this issue
2019-10-30 08:33:39 -07:00
Mike Lischke 3ae5d90296 Fixed an error regarding wrong unique_ptr usage
Also added VS 2019 project files.
2019-10-30 13:35:22 +01:00
Tabari Alexander 87a99e558a Signed contributers.txt 2019-10-29 12:11:49 -04:00
Tabari Alexander 1304e1b8d4 Fix placement of members in JS target.
The location of <namedActions.members> was moved be in the lexer 
constructor, like it is for the parser constructor.
2019-10-29 11:36:47 -04:00
zqlu c37ef7e0ea Fix main entry point for JavaScript runtime npm package 2019-10-22 20:31:36 +08:00
Mike Lischke 64cd1c15f1 Merge branch 'master' into issue-2037 2019-10-14 10:52:15 +02:00
Mike Lischke 3b7872e810 Merge branch 'master-upstream' 2019-10-14 10:52:00 +02:00
Terence Parr ad2bd05285
Merge pull request #2631 from mike-lischke/master
C++ code cleanup
2019-10-11 13:26:12 -07:00
Mike Lischke 4d649fbf71 Another attempt at solving this issue
There was already a patch to fix this issue, but it had some problems and was closed by the author after a while.
2019-10-11 14:47:39 +02:00
Mike Lischke 9723e4b9c9 C++ code cleanup
Converted back all TO_DO items to TODO (they were renamed ANTLR4 TODO items, but I had some for C++ which I all wanted to fix).
Also removed some default copy assignment operators which clang warned about.
2019-10-11 14:44:53 +02:00
Mike Lischke e208be701d Merge branch 'master-upstream' 2019-10-11 09:58:31 +02:00
Terence Parr dda171b118
Merge pull request #2644 from neko1235/patch-1
Fix data race in LexerATNSimulator
2019-10-10 10:44:30 -07:00
Terence Parr 15e6619ddc
Merge branch 'master' into patch-1 2019-10-10 10:43:40 -07:00
Terence Parr c81b4e69b6
Merge pull request #2665 from amorimjuliana/master
Fix codestyle and bugs in PHP.stg
2019-10-05 16:53:24 -07:00
Juliana Amorim 25fa9b0de8 Fix codestyle and bugs in PHP.stg 2019-10-05 17:03:26 -03:00
Terence Parr ae06984751
Merge pull request #2652 from marcospassos/master
Remove redundant assignment, optimize autoloading and tweak code style
2019-10-04 10:54:40 -07:00
Terence Parr d82697db1e
Merge pull request #2657 from lmy269/miliu/fixjscache
Fix javascript parser cache performance issue
2019-10-01 08:15:51 -07:00
miliu 35fcde7d69 add missed change 2019-09-29 20:51:31 -07:00
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