Commit Graph

7325 Commits

Author SHA1 Message Date
Terence Parr edae2a1c9b
Merge pull request #2548 from Thomasb81/fix2547
Fix overlaping condition
2019-05-18 09:48:40 -07:00
Thomas 3534089ddf Fix formating 2019-05-14 08:57:18 +02:00
Thomas 409b207bf1 Fix formating 2019-05-14 08:57:01 +02:00
Thomas c57996e589 Fix formating 2019-05-14 08:56:48 +02:00
Thomas 264db10290 Revert "Typo fix in XPath #2464"
This reverts commit d9c51b1525.
2019-05-13 22:38:49 +02:00
Thomas e7660d6cfa Align overlap condition on java implementation 2019-05-13 22:38:06 +02:00
Thomas 6fbc156f6c Align overlap condition on java implementation 2019-05-13 22:33:43 +02:00
Thomas 9a6b4e8fe8 Align overlap condition on java implementation 2019-05-13 22:33:16 +02:00
Thomas 0b0e521a8d Align overlap condition on java implementation 2019-05-13 22:25:42 +02:00
Thomas 17d626bc73 Align overlap condition on java implementation 2019-05-13 22:23:06 +02:00
Thomas f3184e9c8d Align overlap condition on java implementation 2019-05-13 22:19:19 +02:00
Thomas d9c51b1525 Typo fix in XPath #2464 2019-05-08 15:01:31 +02:00
Thomas 8d48f1a851 Fix overlaping condition 2019-05-08 14:26:11 +02:00
Terence Parr 7c334b114c
Merge pull request #2542 from askingalot/csharp-target-syntax-highlighting
syntax highlighting for csharp language target doc
2019-05-03 09:09:47 -07:00
Andy Collins be993de7d9 syntax highlighting for csharp language target doc 2019-05-02 20:44:28 -05:00
WalterCouto 31f4dcc7cf don't unnecessary fetch all tokens when grabbing an interval of text (match C# logic)
When an exception is thrown, it calls getText to get the text of the tokens invloved but the current C++ and Java implemention first fetches the rest of the tokens instead of  just using the tokens it already has.  C#'s version is correct (fill() is called only when asking for the entire stream's text).
2019-04-17 20:10:37 -04:00
Alexei Averchenko d0f0ef12fd Signed contributors.txt 2019-04-09 09:24:08 +03:00
Alexei Averchenko 4cf4883514 Fixed -Wreorder warning 2019-04-09 09:20:04 +03:00
Terence Parr 837aa60e2c
Merge pull request #2520 from akosthekiss/py3stg-listenerfile-del
Clean up namespace of generated Python3 listeners
2019-03-25 08:36:24 -07:00
Akos Kiss acbd582678 Clean up namespace of generated Python3 listeners
Added `del <file.parserName>` to the end of the `ListenerFile`
template the same way it is used in `VisitorFile`.
2019-03-24 12:24:19 +01:00
Terence Parr f7022ebb02
Merge pull request #2517 from renatahodovan/py27_import
Fix imports in the Python2 sources.
2019-03-23 11:17:01 -07:00
Renata Hodovan 3c21a640cc Fix imports in the Python2 sources.
Contrary to Python3, the lexers and parser generated for Python2 target
support only relative imports which causes a failure in case of
standalone scripts. The patch adapts these imports to work in both
cases.
2019-03-21 15:06:40 +01:00
Terence Parr c7ee16fc72
Merge pull request #2514 from carlodri/patch-1
DOCS: do not use python built-in as variable name
2019-03-19 08:33:33 -07:00
Carlo ad2ea7a68c
Update contributors.txt 2019-03-18 18:07:20 +01:00
Carlo 572bc7eb6f
do not use python built-in as variable name 2019-03-18 18:04:15 +01:00
Terence Parr 28fc84874d
Merge pull request #2510 from base698/master
Added visitor example.
2019-03-13 10:00:20 -07:00
Justin Thomas 6ee94ed5b9
Adding base698 to contributors.txt 2019-03-13 09:42:52 -07:00
Justin Thomas 6160aa6101
Added visitor example. 2019-03-12 06:51:56 -07:00
Gerasimos Dimitriadis d69e7c4d0f Avoid double deletion when NoViableAltException is thrown
When ownership of the configurations set is passed to a NoViableAltException,
it get deleted more than once if the exception happens to get copied.
2019-02-23 20:31:19 +02:00
Terence Parr dade65a895
Merge pull request #2463 from youkaichao/python/test
update test script
2019-02-23 08:57:40 -08:00
Terence Parr 1c6c62afc7
Merge pull request #2486 from ralucado/master
Fix Index Error in Python3 GetChild
2019-02-06 17:38:12 -08:00
Ralu 510e3f7ed9
Update contributors.txt 2019-02-06 10:50:59 +01:00
Ralu de58c28a24
Fix off by one error in getChild 2019-02-06 10:41:38 +01:00
parrt de316ff5ce tweak doc 2019-02-04 13:32:39 -08:00
Markus Zancolò 4fec5f9f7c fix cpp cmake for emscripten
Emscripten can do C++11. added it to the compilercheck in CMakeLists
2019-01-16 14:55:03 +01:00
You Kaichao 45a4cdc67b update test script 2019-01-04 09:17:36 +08:00
Terence Parr 07735085bd
Merge pull request #2461 from youkaichao/python/doc
update python runtime doc
2019-01-03 10:16:54 -07:00
You Kaichao 18e2a605c1 update python runtime doc 2019-01-03 19:29:56 +08:00
Mike Lischke ec665c1b90 A small fix in the C++ documentation. 2019-01-03 10:39:59 +01:00
Terence Parr e924e26205
Merge pull request #2452 from youkaichao/bugfix/python
bugfix for python-runtime/TokenStreamRewriter.getText
2019-01-02 15:21:19 -07:00
You Kaichao 157afd1a8d update code on updated master 2019-01-02 19:06:36 +08:00
Terence Parr 9f422d87b8
Merge pull request #2458 from ericvergnaud/fix-python-getText-api
Fix python get text api
2019-01-01 11:55:30 -07:00
Eric Vergnaud e06b7a8b5d restore full build 2019-01-01 17:08:45 +01:00
Eric Vergnaud 81f7aee6ea fix failing tests 2019-01-01 17:02:29 +01:00
Eric Vergnaud 90854967ca fix broken API calls 2019-01-01 15:04:20 +01:00
Eric Vergnaud 3ad118f87e fix invalid test sequence 2019-01-01 13:31:01 +01:00
Eric Vergnaud cccf6e87da Fix API inconsistency, where getText would expect a tuple named interval, leading to lots of confusion 2019-01-01 13:20:23 +01:00
Eric Vergnaud 108854f986 remove misleading API 2019-01-01 13:19:38 +01:00
Terence Parr 6808f9c4b4
Merge pull request #2447 from WalterCouto/test2
Change bitset upperbound to another higher arbitrary value to allow f…
2018-12-26 09:26:13 -07:00
Terence Parr fa19ded837
Merge pull request #2446 from WalterCouto/test
C++ avoid warning in visual studio build due to clang specific directive
2018-12-21 12:01:22 -07:00