Commit Graph

6255 Commits

Author SHA1 Message Date
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
Ivan Kochurkin 9b5f039e46 Handle INVALID_CHAR_SET error. 2017-03-03 13:40:40 +03:00
Ivan Kochurkin f6cda7f0ea Added new error INVALID_CHAR_SET. 2017-03-03 13:39:19 +03:00
thomasb8138 f6b09429b6 Remove IRecognizer reference in xcode project 2017-03-03 08:49:52 +01:00
thomasb8138 ce40463986 Remove IRecognizer reference from MSVCS project 2017-03-03 08:49:10 +01:00
Terence Parr 94ac8d4b4c Merge pull request #1720 from parrt/fix-1703-part-deux
Fix 1703 part deux
2017-03-02 14:18:37 -08:00
parrt d9d21fe9b3 found 2 cases that called function on empty set. 2017-03-02 14:18:00 -08:00
parrt 6572b08095 Fixes #1703 properly this time. addendum to #1718 2017-03-02 14:13:27 -08:00
thomasb8138 b681d76b4a Remove IRecognize class + rename rename to Recognize 2017-03-02 23:09:30 +01:00
thomasb8138 ef6058ba6f Merge branch 'Fix_syntaxError_proto' 2017-03-02 23:01:51 +01:00
thomasb8138 b2b799b425 Merge remote-tracking branch 'upstream/master' 2017-03-02 22:41:01 +01:00
Terence Parr 8dee8c774b Merge pull request #1718 from parrt/fix-1703
Fixes #1703.
2017-03-02 10:50:41 -08:00
parrt 37fdf66c13 Fixes #1703. Updated comments to ensure people test isNil() or size() before requesting min, max, any single element. 2017-03-02 10:49:25 -08:00
Terence Parr 6245938be9 Merge pull request #1712 from mike-lischke/cpp-demo-fix
Using new Unicode syntax for C++ demo project.
2017-03-02 10:40:41 -08:00
Terence Parr 7ebf911b73 Merge pull request #1710 from bhamiltoncx/docs
Update docs for new Unicode literal and property escapes
2017-03-02 10:40:01 -08:00
parrt 3df19fbcc8 make format consistent with most of antlr project 2017-03-02 10:38:48 -08:00
Terence Parr 61138aee0c Merge pull request #1715 from KvanTTT/master
Fixed incorrect "used multiple times" warning.
2017-03-02 10:30:04 -08:00
Ben Hamilton c209f2a51e Update docs for new Unicode literal and property escapes 2017-03-02 09:36:18 -08:00
Ivan Kochurkin c5f9d5e2a1 More accurate escaping (different symbols for string literals (') and char sets(]-)).
Improved  testInvalidCharSetsAndStringLiterals test.
2017-03-02 18:16:05 +03:00
Ivan Kochurkin 77f7fd135d Fixed incorrect "used multiple times" warning.
Improved warning output in ATNOptimizer.
2017-03-02 14:56:50 +03:00
parrt d9ae13fc1a we left invalid escapes in string literals which was causing an error. This is related to #1537. All tool errors pass now. 2017-03-01 17:32:44 -08:00
Terence Parr 8d1df4c9e4 Merge pull request #1688 from bhamiltoncx/unicode-property-escape
New \p{Letter} Unicode property escape
2017-03-01 15:24:52 -08:00
Terence Parr ed4e358451 Merge pull request #1709 from parrt/fix-1537
error-> warnings. Fixes #1537
2017-03-01 15:19:25 -08:00
parrt 070849698a error-> warnings. Fixes #1537 2017-03-01 15:10:44 -08:00
parrt e353fa0484 update comment @since tag to 4.7.1 2017-03-01 14:53:43 -08:00
Terence Parr e04e7a40cc Merge pull request #1697 from hanjoes/master
Swift imple of #1665, #1674.
2017-03-01 14:50:50 -08:00
Ben Hamilton ca03e6ab5e New \p{Letter} Unicode property escape 2017-03-01 14:50:02 -08:00
Terence Parr d11968d993 Merge pull request #1693 from bhamiltoncx/escape-parsing
New class EscapeSequenceParsing with \p{UnicodeProperty} support
2017-03-01 14:47:44 -08:00
Terence Parr 4d8e865295 Merge pull request #1692 from bhamiltoncx/unicode-blocks
UnicodeData: Also support Unicode blocks
2017-03-01 14:46:43 -08:00
Terence Parr 7f479fa5dc Merge pull request #1700 from jvasileff/patch-1
Fix minor typo: possessive "its"
2017-03-01 14:45:46 -08:00
Terence Parr 0539fb4b0d Merge pull request #1699 from Thomasb81/fix_1698
Fix for #1698
2017-03-01 14:43:12 -08:00
Terence Parr 26249918f5 Merge pull request #1694 from mike-lischke/master
C++ implementation of issue #1665 and issue #1674
2017-03-01 14:41:15 -08:00
Ben Hamilton 3557f48386 EscapeSequenceParsing 2017-03-01 14:06:04 -08:00
Mike Lischke e368fb30ea Using new Unicode syntax for C++ demo project. 2017-02-28 15:32:25 +01:00
Thomasb81 4b71f501a3 Merge pull request #1 from antlr/master
re-integrate
2017-02-28 08:42:19 +01:00
Terence Parr b2012d9054 Merge pull request #1704 from parrt/move-setparent-to-parsetree
shift setParent up one level
2017-02-27 12:18:36 -08:00
Terence Parr 39ba47554a shift setParent up one level 2017-02-27 12:13:12 -08:00