Terence Parr
526b3f95d8
Merge branch 'master' into patch-1
2017-10-10 12:42:27 -07:00
Terence Parr
2938e7a3ab
Merge pull request #1870 from KvanTTT/master
...
All error codes distinct
2017-10-10 12:41:50 -07:00
Terence Parr
cb558ccb48
Merge pull request #1954 from kosak/no-attribute-on-enum-class
...
Remove the useless visibility attribute from this "enum class" declaration
2017-10-10 12:40:31 -07:00
Terence Parr
c329e38775
Merge pull request #1932 from jBugman/master
...
Go file header complies with standardised Go 'generated code' header
2017-10-10 12:39:24 -07:00
Terence Parr
f6b3571e97
Merge branch 'master' into master
2017-10-10 12:39:18 -07:00
Terence Parr
8b6f297578
Merge pull request #1973 from matthauck/ignore-cmake-policy-0054
...
Ignore cmake policy 0054
2017-10-10 12:36:10 -07:00
Terence Parr
a308cd5d8d
Merge branch 'master' into ignore-cmake-policy-0054
2017-10-10 12:36:01 -07:00
Terence Parr
e78b0df51a
Merge pull request #2035 from ewanmellor/fix-mvn-plugin-versions
...
Add some version numbers to pom.xml.
2017-10-10 12:34:46 -07:00
Terence Parr
f1838a0553
Merge pull request #1984 from sharwell/set-tab-width
...
Set the tab width in .editorconfig so GitHub shows source properly
2017-10-10 12:34:10 -07:00
Terence Parr
51c743c80e
Merge pull request #2017 from moon-fall/master
...
correct the version of the antlr jar package
2017-10-10 12:33:07 -07:00
Terence Parr
200b0fa806
Merge pull request #2009 from sachinjain024/patch-1
...
Minor formatting
2017-10-10 12:30:03 -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
fallnirvana
41cd0309a7
correct the version of the antlr jar package
...
version of the antlr jar package is different from other place of this doc,and it make mistake.
2017-09-19 23:19:39 +08:00
Terence Parr
e6d60007e7
Merge pull request #1956 from renatahodovan/syntax-errors
...
Python: add public getter to parsers to access syntax error count.
2017-09-17 11:20:56 -07:00
Terence Parr
106c413e96
Merge pull request #1958 from linux-on-ibm-z/master
...
fix to the ATN deserialiser issue on big endian architecture
2017-09-17 11:20:16 -07:00
Terence Parr
f86835928f
Merge branch 'master' into master
2017-09-17 11:20:10 -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
Terence Parr
a7b0afbd2f
Merge pull request #1966 from venkatperi/master
...
Require superClass for Lexer in split mode for JavaScript target
2017-09-17 11:17:53 -07:00
Terence Parr
8f50bd0df6
Merge branch 'master' into master
2017-09-17 11:17:14 -07:00
Terence Parr
4fc18d91c8
Merge pull request #2013 from rljacobson/master
...
Import RuleContext into the antlr4 module namespace. See Issue #2012 .
2017-09-17 09:01:53 -07:00
Robert Jacobson
8f30ae6610
Import RuleContext into the antlr4 module namespace. See Issue #2012 .
2017-09-16 16:16:01 -04:00
Sachin Jain
7ed8fe6d29
Minor formatting
...
Introduced newlines to have better view of steps.
2017-09-11 16:23:45 +05:30
Tiago Mazzutti
715bfccb80
Update contributors.txt
2017-08-20 14:18:41 -03:00
Sam Harwell
5f2f7981b7
Set the tab width in .editorconfig so GitHub shows source properly
2017-08-07 18:04:32 -05:00
Terence Parr
1203794259
Merge pull request #1979 from hanjoes/swift-wiki
...
Updated swift-target.md.
2017-08-06 08:13:47 -07:00
Hanzhou Shi
4c93b71983
Updated swift-target.md.
2017-08-05 13:57:53 -07:00
Terence Parr
590fa8394c
Merge pull request #1942 from neatnerd/master
...
[Go] Implemented TokenStreamRewriter
2017-08-01 15:08:35 -07:00
Terence Parr
a0421807db
Merge pull request #1969 from sharwell/propagate-error-sets
...
Report InputMismatchException with original context information
2017-08-01 13:36:10 -07:00
Terence Parr
752d4d525a
Merge pull request #1976 from hanjoes/doc
...
Swift Documentations
2017-07-30 10:34:41 -07:00
Hanzhou Shi
22caddc12f
Autopass for doc conversion.
2017-07-29 23:28:15 -07:00
Hanzhou Shi
82b2480fe5
Tweak HTML comments.
2017-07-29 22:53:44 -07:00
Hanzhou Shi
0137218930
Removing dead code, malformed documentations, etc.
2017-07-29 17:27:33 -07:00
Arshinskiy Mike
dced604c7c
Corrected Start/Stop spelling
2017-07-29 22:05:46 +02:00
neatnerd
c1c069cf5e
Merge branch 'master' into master
2017-07-28 23:56:51 +02:00
neatnerd
ca9409c7bc
Remove duplicate comments
2017-07-28 23:55:40 +02:00
Matt Hauck
f12a713062
sign contributors.txt
2017-07-27 20:56:54 -07:00
Matt Hauck
95338f710e
Ignore Cmake policy CMP0054
2017-07-27 20:54:59 -07:00
Sam Harwell
0803c74eb2
Report InputMismatchException with original context information
...
Fixes #1922
2017-07-27 18:34:13 -05:00
Terence Parr
0ff5ad6f4c
Merge pull request #1938 from shirou/master
...
[Go] Add getter method to Interval.
2017-07-27 16:31:31 -07:00
WAKAYAMA Shirou
1b11cbed18
Merge remote-tracking branch 'upstream/master'
2017-07-27 21:52:12 +09:00
Terence Parr
56f5190cd0
Merge pull request #1945 from dhalperi/all-imports-count
...
Many fixes to antlr4-maven-plugin dependency analysis
2017-07-26 11:09:48 -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
61edb0204d
signed contributors.txt
2017-07-23 10:14:34 -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
Terence Parr
2d6a4945a5
Merge pull request #1935 from mike-lischke/master
...
Build fixes after previous C++ patch
2017-07-21 08:55:00 -07:00
Daniel Halperin
62184c38eb
Always refresh grammars with changed dependencies
...
The buildContext.hasDelta function is ignorant of importants. Since we have more advanced
dependency analysis, stop relying on hasDelta and instead just refresh grammars where we
know the dependencies have changed.
2017-07-19 18:03:36 -07:00
Mike Lischke
8149ff77fa
Consequently use static_cast for (s)size_t casts.
...
Also fixed XCode tests.
2017-07-19 10:43:36 +02:00
Renata Hodovan
6e02088e6a
Python: add public getter to parsers to access syntax error count.
...
ANTLR parsers in Java are allowed to access the number of encountered
syntax errors via the getNumberOfSyntaxErrors method. However, the
Python variants must use the protected _syntaxErrors member to get this
value. The patch defines the same getter for Python targets too.
2017-07-18 18:29:36 +02:00
Corey Kosak
2bce3a74d4
Remove the useless visibility attribute from this "enum class" declaration.
...
When compiling under gcc, ANTLR4CPP_PUBLIC macro expands to the following
gcc visibility attribute:
__attribute__((visibility ("default")))
(when compiling under Windows it expands to the corresponding __declspec
attribute)
This change was introduced in commit 8ff852640a
Although the attribute makes perfect sense when applied to a "class"
declaration, it makes no sense (has no effect) when applied to an
"enum class" declaration. I assume that doing so was unintentional; that
when the change was introduced it was it was added mechanically to all
"class XXX" instances in the source code, a process which accidentally
picked up one "enum class XXX" instance.
Although it has no effect on the object code, it leads to the following
warning when compiling under gcc:
/usr/local/include/antlr4-runtime/atn/PredictionMode.h:18:31: error: type attributes ignored after type is already defined [-Werror=attributes]
enum class ANTLR4CPP_PUBLIC PredictionMode {
This is a problem for people who would like their builds to be warning-free.
Happily, this declaration can be safely removed. The "enum class" construct
(just like with regular enum) does not cause any linker symbols to be
emitted. So having a linker attribute on the type does not actually have any
effect. It can therefore be safely removed.
2017-07-17 17:54:17 -04:00