Commit Graph

2238 Commits

Author SHA1 Message Date
Mike Lischke a55baba44c More versions updated. 2017-02-25 10:48:12 +01:00
Mike Lischke a4e0948600 Updated version number. 2017-02-24 20:08:17 +01:00
Mike Lischke 126112fbbc C++ implementation of issue #1665 and issue #1674 2017-02-24 08:44:21 +01:00
Mike Lischke cd6bb1f2a0 Merge branch 'master_upstream' 2017-02-23 10:57:31 +01:00
Terence Parr ce09abb480 Merge pull request #1679 from Thomasb81/Issue_1666
Issue 1666
2017-02-22 13:14:37 -08:00
Terence Parr 1dc70310a3 Merge pull request #1685 from KvanTTT/master
Fix C# Pair.cs, Right arrow escaping in XML Comments
2017-02-22 13:09:57 -08:00
thomasb8138 cb177712f6 Use reference instead of pointer 2017-02-22 21:55:46 +01:00
Mike Lischke 0101770e5f Fixed a number of data type + signedness issues.
The UnbufferedCharStream had a few invalid casts which could lead to wrong numbers. This patch also fixes issue #1619.
2017-02-22 12:09:52 +01:00
Mike Lischke 14991143d4 Merge branch 'master_upstream' 2017-02-22 11:32:22 +01:00
Mike Lischke 4a940aeeda Fix for issue #1608 (runtime build failure with gcc 6.3.1)
Additionally, a warning has been removed.
2017-02-22 11:31:57 +01:00
Ivan Kochurkin f24b19ff8a Right arrow escaping in XML Comments. 2017-02-22 02:57:01 +03:00
Ivan Kochurkin 160f893922 Fix C# Pair.cs, #1634. 2017-02-22 02:47:11 +03:00
thomasb8138 78a20b72a3 Clean fix 2017-02-21 23:43:13 +01:00
parrt 912342b01f tweak to C++ runtime; nullptr not 0 2017-02-21 09:39:02 -08:00
Terence Parr 91df265278 Merge pull request #1672 from bhamiltoncx/code-point-transitions
New class CodePointTransitions to create SetTransitions for Unicode code points > U+FFFF
2017-02-20 14:37:36 -08:00
Thomasb81 1341d35f37 Merge branch 'master' into Issue_1666 2017-02-20 22:49:16 +01:00
thomasb8138 df0cd343c1 Fix https://github.com/antlr/antlr4/issues/1666 2017-02-20 22:27:15 +01:00
Mike Lischke 528f675dd6 Some compilers need the functional include. 2017-02-20 12:42:53 +01:00
parrt 44942bc5fc Merge branch 'master' into lecode-official-master 2017-02-19 14:08:26 -08:00
Ben Hamilton 760d3eff82 Use generator expressions instead of list comprehensions 2017-02-18 11:55:49 -08:00
Ben Hamilton 7b9b0835b8 Python 2.7 InputStream: Properly support Unicode code points 2017-02-18 11:54:11 -08:00
parrt 81681abfb3 augment TerminalNode with setParent(). Technically, this is not backward compatible as it changes the interface but no one was able to create custom TerminalNodes anyway so I'm adding as it improves internal code quality. addChild now sets the parent rather than create. MUCH better. 2017-02-18 11:21:17 -08:00
Ben Hamilton 291638ca2d CodePointTransitions 2017-02-17 13:30:22 -08:00
Terence Parr 2b3508d57e Merge pull request #1662 from bhamiltoncx/no-more-char-casts
Get rid of all (char) casts
2017-02-17 13:21:16 -08:00
Terence Parr f5bbcaab51 Merge pull request #1664 from bhamiltoncx/csharp-error-message-unicode
Support Unicode values > U+FFFF in C# runtime error messages
2017-02-17 13:19:02 -08:00
parrt f8e7a2cf08 merge in dotnet stuff 2017-02-17 11:02:52 -08:00
Terence Parr 628aa8ff02 Merge pull request #1665 from parrt/factor-create-leaves
factor out the creation of error nodes and terminal nodes in the parser
2017-02-16 10:43:30 -08:00
parrt e200f2a56b factor out the creation of error nodes and terminal nodes in the parser so that they act like a built-in factory during parse tree construction. 2017-02-16 10:36:59 -08:00
Ben Hamilton f88e0cbfe0 Unicode SMP support for C# runtime error messages 2017-02-16 10:25:49 -08:00
Terence Parr 1df5cd6206 Merge pull request #1661 from bhamiltoncx/lexer-max-unicode
Change MAX_CHAR_VALUE to 0x10FFFF
2017-02-16 10:16:18 -08:00
Ben Hamilton 88ecb3d9fa Get rid of all (char) casts 2017-02-16 09:55:08 -08:00
Ben Hamilton b190b6eca6 MAX_CHAR_VALUE to 0x10FFFF 2017-02-16 09:46:09 -08:00
Ben Hamilton c35bbabc16 PR #1658: Also write stderr to file 2017-02-16 09:44:40 -08:00
Ben Hamilton 3188d6a883 Allow setting source name when creating CodePointCharStream from string 2017-02-14 15:49:00 -08:00
David Neumann e967463e91 Merge branch 'master' into master 2017-02-14 11:20:02 +01:00
Terence Parr fb805a589b Merge pull request #1643 from bhamiltoncx/fix-csharp-code-point-input-stream
Easy: Fix C# CodePointCharStream to actually work with code points > U+FFFF
2017-02-13 15:18:27 -08:00
Terence Parr 287f17b796 Merge pull request #1652 from bhamiltoncx/csharp-lexer-parser-output-file
C# support for lexer and parser output to a file
2017-02-13 15:10:54 -08:00
Terence Parr 9b7e2a81ce Merge pull request #1651 from bhamiltoncx/python-lexer-parser-output-file
Python 2 and Python 3 support for lexer and parser output to a file
2017-02-13 15:10:19 -08:00
Terence Parr 565f6299c0 Merge pull request #1650 from bhamiltoncx/js-fromcodepoint-polyfill
Fix JavaScript InputStream.getText() when input contains Unicode values > U+FFFF
2017-02-13 15:08:59 -08:00
Terence Parr 3cbc2af0cc Merge pull request #1655 from lionelplessis/fix-#1298-for-csharp
Fix #1298 for CSharp
2017-02-13 10:29:47 -08:00
Terence Parr ae5250685d Merge pull request #1637 from bhamiltoncx/char-streams
Make BaseJavaTest and TestRig work with Unicode values > U+FFFF
2017-02-10 14:11:34 -08:00
Ben Hamilton 6611c1ae27 C# runtime and test harness support for writing test output to file 2017-02-10 13:37:44 -08:00
Ben Hamilton 2c447a2b75 Python 2 and Python 3 support for lexer and parser output to a file instead of stdout 2017-02-10 13:11:24 -08:00
Ben Hamilton 51edf3cece Fix InputStream.getText() when input contains Unicode values > U+FFFF 2017-02-10 11:41:00 -08:00
Ben Hamilton 32a3a95da1 Import fromcodepoint.js 2017-02-10 11:40:55 -08:00
lionelplessis 895681044e Fix #1298 for CSharp 2017-02-10 17:55:10 +01:00
Ben Hamilton 2d24fa7457 Fix C# CodePointInputStream to actually work with SMP code points 2017-02-02 15:55:03 -08:00
Terence Parr 182f3c4647 Merge pull request #1628 from bhamiltoncx/js-string-codepointat-polyfill
JavaScript runtime: Optionally support decoding UTF-16 sequences to Unicode code points
2017-01-31 10:26:29 -08:00
Ivan Kochurkin e5867ee58f Java: LexerInterpreter ctor without channelNames argument marked as Deprecated. 2017-01-31 16:32:32 +03:00
Ivan Kochurkin b1a9daa6b0 C# runtime: LexerInterpreter ctor without channelNames argument marked as Obsolete.
LexerInterpreter.cs reformatted.
2017-01-31 16:29:49 +03:00