Commit Graph

6291 Commits

Author SHA1 Message Date
Peter Boyer 2132555b6b Get old changes from ATN deserializer 2017-03-12 12:06:07 -04:00
Peter Boyer 60d03df245 Cleanup 2017-03-12 12:01:28 -04:00
Peter Boyer 760ed2796c Borrow changes from wxio 2017-03-12 12:00:34 -04:00
Ivan Kochurkin 7ca8ecf632 Use xml comments instead of [cut][/cut] for section clearing after rendering in TEMPLATE files. 2017-03-12 00:34:50 +03:00
Peter Boyer 39b3a35b48 Initialize decisionToDFA in init 2017-03-11 14:47:28 -05:00
Terence Parr 9bf3946515 Merge pull request #1748 from parrt/rm-xpath-grammar
Fixes #1620. Make handbuilt lexer to avoid cyclic dependence of tool and plugin.
2017-03-10 15:18:05 -08:00
parrt b16cfd6edb add copyright 2017-03-10 15:17:29 -08:00
parrt 8dd87d4966 cleanup 2017-03-10 14:57:24 -08:00
parrt 3d945eed2a Fixes #1620. Make handbuilt lexer to avoid cyclic dependence of tool and plugin. 2017-03-10 14:54:48 -08:00
Terence Parr 5e3045f798 Merge pull request #1740 from teverett/master
fix for compile error
2017-03-10 13:56:38 -08:00
Terence Parr bd1054a57e Merge branch 'master' into master 2017-03-10 13:54:21 -08:00
Terence Parr efc89fd73c Merge pull request #1723 from chund/master
Improve error message in exceptions
2017-03-10 13:53:22 -08:00
Terence Parr 197ea6e4e4 Merge branch 'master' into master 2017-03-10 13:53:14 -08:00
Tom Everett a1d76e33a2 Merge branch 'master' of https://github.com/antlr/antlr4
# Conflicts:
#	contributors.txt
2017-03-09 19:52:01 -07:00
Tom Everett 34329c3fc1 add to contributors 2017-03-09 19:05:08 -07:00
Tom Everett cf422bb107 exclude icu4j from the final jar 2017-03-09 18:36:25 -07:00
Tom Everett 2c0ef5529d remove tool-codegen
tool-codegen is now part of tool
2017-03-09 17:43:33 -07:00
parrt 98f1d808c6 update doc 2017-03-09 09:54:06 -08:00
Terence Parr 892a749315 Merge pull request #1736 from harry-tallbelt/master
Fixed null pointer exception for JS target
2017-03-09 07:05:14 -08:00
Tom Everett 3ae7aba765 fix for compile error
Currently the project tool-codegen generates the file UnicodeData.java into the /target directory of the project tool.  Running “mvn clean package” in tool erases this file and generates a compile error since UnicodeData.java can’t be found.

This patch changes tool-codegen to generate UnicodeData.java into the /src directory of tool.
2017-03-08 20:10:33 -07:00
Terence Parr e8657fad22 Merge pull request #1739 from bhamiltoncx/unicode-enum-property
Also support Unicode enumerated properties via \p{Foo=Bar} syntax
2017-03-08 09:54:32 -08:00
Ben Hamilton 6007132e2e Also support Unicode enumerated properties via \p{East_Asian_Width=Ambiguous} escape 2017-03-08 09:43:50 -08:00
harry-tallbelt 2a118e284f Fixed null pointer exception for JS 2017-03-08 15:00:14 +02:00
Terence Parr b8c74be628 Merge pull request #1731 from hanjoes/fixtest
Remove generated files from repository and add testRig for Swift target
2017-03-07 12:38:19 -08:00
Terence Parr a4d2fde2ce Merge pull request #1733 from mike-lischke/issue-1708
Fixed regression introduced by wrong optimization. Fixes #1708.
2017-03-07 12:37:46 -08:00
Mike Lischke e810ca6084 Fixed regression introduced by wrong optimization. Fixes #1708. 2017-03-07 20:15:10 +01:00
chund 313ab9dcce Merge branch 'master' into master 2017-03-06 08:59:50 +01:00
Hanzhou Shi 0c71574c8e Specify output folder so generated files can be ignored correctly. 2017-03-05 20:56:29 -08:00
Hanzhou Shi e1898324df Run "swift test" in test. 2017-03-05 20:49:02 -08:00
Hanzhou Shi b66ffe86f9 Remove generated parser files and added testRig.
Current version of swift package manager doesn't support shell command
or any mechanism that we can leverage to generate parser files. Adding
a python script to kick off the unit tests.
2017-03-05 20:44:22 -08:00
Terence Parr bf0a7a64b1 Merge pull request #1726 from KvanTTT/master
Reverted unterminated ranges: [+-], [-+], [-].
2017-03-04 08:55:11 -08:00
Terence Parr 62eb069ffc Merge pull request #1728 from mike-lischke/issue-1601
Fixed crash with multi threaded parsers warming up at the same time.
2017-03-04 08:54:28 -08:00
Mike Lischke e002b177c6 Fixed crash with multi threaded parsers warming up at the same time.
The lock for the shared DFA state needs to protect a few more operations than just the addDFAState stuff and had to move up one call level. This in turn requires now 2 places where the lock must be aquired.
2017-03-04 14:20:09 +01:00
Terence Parr d8826368d4 Merge pull request #1727 from xied75/issue-1725
fix #1725; get dotnet target test run
2017-03-03 18:23:42 -08:00
Dong Xie e49b0977f5 fix #1725; get dotnet target test run 2017-03-04 01:42:44 +00:00
Terence Parr 4a5e65c5e7 Merge pull request #1701 from Thomasb81/Fix_syntaxError_proto
[Cpp] Fix syntaxError prototype issue
2017-03-03 13:30:00 -08:00
thomasb8138 26e41343a6 Remove IRecognizer reference in xcode project (reverted from commit f6b09429b6) 2017-03-03 21:39:17 +01:00
Ivan Kochurkin e3f85774a4 Reverted unterminated ranges: [+-], [-+]. 2017-03-03 21:35:31 +03:00
parrt 58249f4a32 indicate where mono is under linux:dotnet 2017-03-03 10:27:42 -08:00
parrt f18ce14afe indicate where mono is under linux:dotnet 2017-03-03 10:20:33 -08:00
Terence Parr 924b3d137c Merge pull request #1724 from KvanTTT/more-accurate-error-messages
More accurate error messages
2017-03-03 10:02:31 -08:00
Ivan Kochurkin fbc49f2f00 Moved and simplified getIntervalSetEscapedString to CharSupport. 2017-03-03 21:01:00 +03:00
Terence Parr d3ce604df1 Merge pull request #1721 from KvanTTT/invalid-charset
Added invalid charset error (for ranges without start or end)
2017-03-03 09:39:25 -08:00
Ivan Kochurkin b3e667c619 Fixed escaped charactes in error messages. 2017-03-03 16:44:41 +03:00
Ivan Kochurkin d59d193252 CharSupport code improved and cleared.
Tests fixed.
2017-03-03 16:44:41 +03:00
D054757 154194c78d sign the contributors.txt certificate of origin 2017-03-03 13:51:56 +01:00
D054757 f4e955b528 Improve error message in exceptions 2017-03-03 13:46:55 +01:00
Ivan Kochurkin e1ec6a4222 Fixed line break in test. 2017-03-03 13:44:44 +03:00
Ivan Kochurkin b07528796e Removed runtime CharSetWithMissingEndRange test. 2017-03-03 13:42:09 +03:00
Ivan Kochurkin a1c50de31f Improved testInvalidCharSetsAndStringLiterals test with invalid char sets, fixed Java.g4 grammar: [+-] -> [+\-] 2017-03-03 13:41:36 +03:00