4.2.2
版本发布时间: 2014-04-07 10:03:44
antlr/antlr4最新发布版本:4.13.2(2024-08-04 03:28:03)
Minor Bug Fix Release
ANTLR 4.2.2 is a minor bugfix update to ANTLR 4. This update is source- and binary-compatible with ANTLR 4.2 for virtually all users (see the Breaking Changes section at the end). Users updating from earlier versions are encouraged to read the release notes for ANTLR 4.2.
Documentation
Summary of Changes
You can view all issues closed for this release here, and all commits for this release here.
Bug Fixes
- Improve the handling of grammars containing multiple explicit references to
EOF
(#531, #534, #537, #539) - Improve the ability of generated parsers to report localized errors in the presence of semantic predicates (#529, #530, #533, parrt/antlr4#134, #538)
- Other minor fixes and cleanup (#528, #532, #538, #540)
Breaking Changes
The signature of the following methods changed to support the proper handling of grammars with multiple explicit references to EOF
. These methods are rarely, if ever, overridden in client applications.
-
LexerATNSimulator.closure
-
LexerATNSimulator.getEpsilonTarget
-
ParserATNSimulator.closure
-
ParserATNSimulator.closureCheckingStopState
-
ParserATNSimulator.closure_
-
ParserATNSimulator.getEpsilonTarget
Related Projects
The following tables list several related projects, along with the version number corresponding to this release. The tables will be updated as each of the projects release updates to support this release of ANTLR 4.
IDE Support
Project | Release which Supports ANTLR 4.2.2 |
---|---|
ANTLRWorks 2 | 2.2.2 |
IntelliJ Plugin | 1.1 |
Eclipse Plugin | 0.3.0 |
Visual Studio Extension | 1.2.1 |
Alternate Language Targets
Project | Release which Supports ANTLR 4.2.2 |
---|---|
ANTLR 4 "Optimized" fork | 4.2.2-opt |
C# Target | 4.2.2-alpha001 |