Skip to content

4.2.2

Compare
Choose a tag to compare
@sharwell sharwell released this 07 Apr 02:03
· 6707 commits to dev since this release

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#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