Terence Parr
2938e7a3ab
Merge pull request #1870 from KvanTTT/master
...
All error codes distinct
2017-10-10 12:41:50 -07:00
Terence Parr
f6b3571e97
Merge branch 'master' into master
2017-10-10 12:39:18 -07:00
Ewan Mellor
99d32dc861
Add some version numbers to pom.xml.
...
This silences warnings from Maven.
2017-09-28 16:10:26 -07:00
Terence Parr
f8b272a721
Merge pull request #1950 from ericvergnaud/fix-naming-issue
...
fix inconsistent naming in target stg
2017-09-17 11:18:44 -07:00
Venkat Peri
e123bb8cea
removed proto level stuff (one more)
2017-07-24 15:11:00 -04:00
Venkat Peri
caa5e46def
removed proto level stuff
2017-07-24 15:09:43 -04:00
Venkat Peri
e01af374d2
'requires' SUPERclass for Lexers in split mode, symbols/modes/channels available on Lexer prototype for use in lexer actions (this.SOME_MODE) like in Java actions, Utils.escapeWhiteSpace uses regex for global replace (was replacing only first occurnce of \n etc).
2017-07-22 18:11:37 -04:00
Eric Vergnaud
0930095207
fix inconsistent naming in target stg
2017-07-15 12:19:54 +08:00
Sergey Parshukov
49b462f960
Go file header complies with standardised Go 'generated code' header
2017-06-28 11:43:50 +03:00
Terence Parr
916a872529
Merge pull request #1918 from renatahodovan/indent-with-spaces
...
Use spaces consistently to indent the generated Python code.
2017-06-27 08:16:02 -07:00
Terence Parr
3a7c6a662a
Merge pull request #1910 from mike-lischke/optimizations
...
Reverted removal of namespace.
2017-06-25 08:36:02 -07:00
Renata Hodovan
96d42d833a
Use spaces consistently to indent the generated Python code.
2017-06-15 18:29:53 +02:00
Mike Lischke
2b3dd222bd
Reverted removal of namespace.
2017-06-12 09:26:11 +02:00
Terence Parr
35cf1ba4ff
Merge pull request #1907 from mike-lischke/optimizations
...
[C++] Small optimizations
2017-06-11 08:54:21 -07:00
Ivan Kochurkin
7dc17ace6e
Distinct error codes, added unit-test. fixes #1865 .
2017-05-14 13:23:53 +03:00
parrt
f858cd5948
Fixes #1815 (for real this time!). Fix text set for erroneous escapes so tool doesn't fail later. Remove some duplicate error messages. Add test for #1815 .
2017-04-06 14:34:37 -07:00
parrt
80aa7907a4
Fixes #1815 . Add info on what the invalid escape is. Match \x for any x but give error. This prevents \x from appearing like a sequence of 2 char. Updated unit tests.
2017-04-06 10:26:03 -07:00
Ben Hamilton
1fd2d1b434
Python 3 codegen probably didn't mean to limit ATN segment size to 2 XOR 31
2017-03-31 09:27:23 -07:00
parrt
62baf4bd0a
[maven-release-plugin] prepare for next development iteration
2017-03-30 14:11:59 -07:00
parrt
d4d7e3d3bc
[maven-release-plugin] prepare release 4.7
2017-03-30 14:11:49 -07:00
parrt
b5648f405b
tweak documentation about various targets
2017-03-30 10:44:28 -07:00
parrt
53641c552c
fix build issue in C#. some weird changes snuck in.
2017-03-16 17:13:47 -07:00
Terence Parr
1f6a329692
Merge pull request #1765 from bhamiltoncx/unicode-cleanup-and-doc
...
Tidy up CharStreams and add new doc/unicode.md
2017-03-16 17:03:06 -07:00
Ben Hamilton
4f2168600d
Tidy up CharStreams API. Add new doc/unicode.md
2017-03-16 17:01:46 -06:00
parrt
b2e51e20b7
add C# keyword
2017-03-16 09:49:40 -07:00
parrt
4c1dc90064
tweak wildcard. Fixes #1213
2017-03-15 09:04:47 -07:00
Ben Hamilton
c71b7d2f18
EmojiDefault and TextDefault
2017-03-14 13:27:01 -06:00
parrt
60f70e778c
Fixes #1604
2017-03-14 11:09:37 -07:00
Terence Parr
e2a19e5a85
Merge pull request #1754 from bhamiltoncx/extended-pictographic
...
Add new \p{Extended_Pictographic} and related Unicode property escapes
2017-03-14 10:10:53 -07:00
Ben Hamilton
3219f1c77d
Extended Pictographic
2017-03-13 15:40:51 -06:00
Peter Boyer
39b3a35b48
Initialize decisionToDFA in init
2017-03-11 14:47:28 -05: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
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
Ben Hamilton
6007132e2e
Also support Unicode enumerated properties via \p{East_Asian_Width=Ambiguous} escape
2017-03-08 09:43:50 -08:00
Mike Lischke
1cf28851c2
Merge branch 'master_upstream' into optimizations
2017-03-04 14:58:41 +01:00
Ivan Kochurkin
e3f85774a4
Reverted unterminated ranges: [+-], [-+].
2017-03-03 21:35:31 +03:00
Ivan Kochurkin
fbc49f2f00
Moved and simplified getIntervalSetEscapedString to CharSupport.
2017-03-03 21:01:00 +03: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
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
parrt
3df19fbcc8
make format consistent with most of antlr project
2017-03-02 10:38:48 -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
parrt
070849698a
error-> warnings. Fixes #1537
2017-03-01 15:10:44 -08:00
Ben Hamilton
ca03e6ab5e
New \p{Letter} Unicode property escape
2017-03-01 14:50:02 -08:00
Ben Hamilton
3557f48386
EscapeSequenceParsing
2017-03-01 14:06:04 -08:00