Commit Graph

6281 Commits

Author SHA1 Message Date
Ben Hamilton 5c5f52ab83 Use code generation in new tool-codegen build step instead of making tool depend on ICU at runtime 2017-02-22 11:09:02 -08: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
Terence Parr 96e7904167 Merge pull request #1683 from bhamiltoncx/unicode-tool
New tool utility class Unicode
2017-02-21 13:17:15 -08:00
Ben Hamilton f384ef5fb4 New utility class Unicode 2017-02-21 12:40:31 -08: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
Terence Parr a6117de1be Merge pull request #1677 from mike-lischke/master
Some compilers need the functional include.
2017-02-20 13:44:30 -08:00
Terence Parr fc7a68d16d Merge pull request #1678 from parrt/node-deadsnakes-setup
node, deadsnakes setup simplification
2017-02-20 13:44:04 -08:00
thomasb8138 d8ef0cb09b Add contributor list 2017-02-20 22:35:15 +01:00
thomasb8138 df0cd343c1 Fix https://github.com/antlr/antlr4/issues/1666 2017-02-20 22:27:15 +01:00
parrt e968fe271a Revert "clean up per travis weblint"
This reverts commit 49de9e8f95.
2017-02-20 11:59:22 -08:00
parrt 49de9e8f95 clean up per travis weblint 2017-02-20 11:27:37 -08:00
parrt 0c45ada655 fix formatting 2017-02-20 10:42:02 -08:00
parrt 7a0f4e716a try generic python 3.5 2017-02-20 10:36:36 -08:00
Mike Lischke 528f675dd6 Some compilers need the functional include. 2017-02-20 12:42:53 +01:00
parrt c3785ce89d Merge branch 'lecode-official-master' 2017-02-19 14:12:43 -08:00
parrt 44942bc5fc Merge branch 'master' into lecode-official-master 2017-02-19 14:08:26 -08:00
Terence Parr cd72d7ddf8 Merge pull request #1676 from ericvergnaud/fix-travis-build
remove unnecessary installs in travis
2017-02-19 08:52:13 -08:00
ericvergnaud 9cc527b925 force-rebuild 2017-02-19 13:19:56 +08:00
Eric Vergnaud 414533e6ac print node version 2017-02-19 12:32:10 +08:00
Eric Vergnaud 5827c15183 try different nodejs install method 2017-02-19 12:20:43 +08:00
Eric Vergnaud b0f067e522 rwky ppa no longer available, trying chris-lea 2017-02-19 12:14:02 +08:00
Eric Vergnaud 9e67038855 remove unnecessary calls 2017-02-19 11:38:02 +08:00
Terence Parr f68fac900b Merge pull request #1663 from bhamiltoncx/python2-code-points
Python 2.7 InputStream: Properly support Unicode code points on Windows and macOS
2017-02-18 12:03:31 -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
Terence Parr f594c6f74a Merge pull request #1674 from parrt/factor-create-leaves-continued
augment TerminalNode with setParent()
2017-02-18 11:23:53 -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
Terence Parr a7a6ea74ff Merge pull request #1669 from KvanTTT/master
Added "action" to badWords set for Go runtime.
2017-02-17 13:18:05 -08:00
Ivan Kochurkin fab6172749 Added "action" to badWords set for Go runtime.
Some spaced replaced with tabs.
2017-02-17 23:31:51 +03:00
parrt e1101caffa resolve conflict 2017-02-17 11:08:15 -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
Terence Parr 877f6a396b Merge pull request #1659 from bhamiltoncx/js-use-code-points-for-tests
JavaScript: Allow Unicode code points > U+FFFF in tests
2017-02-16 09:53:43 -08:00
Terence Parr b3f5d1e3d1 Merge pull request #1658 from bhamiltoncx/csharp-use-output-file
C#: Write test output to a file
2017-02-16 09:53:16 -08:00
Terence Parr 429f3015bd Merge pull request #1657 from bhamiltoncx/python-use-output-file
Python 2/3 tests: Write test output to a file
2017-02-16 09:52:44 -08:00
Ben Hamilton b190b6eca6 MAX_CHAR_VALUE to 0x10FFFF 2017-02-16 09:46:09 -08:00