Branch: refs/heads/main
  Home:   https://github.com/pmd/pmd
  Commit: 168e910f0894a8856ca729dc8f33ec79900429cd
      https://github.com/pmd/pmd/commit/168e910f0894a8856ca729dc8f33ec79900429cd
  Author: Andreas Dangel <[email protected]>
  Date:   2026-06-22 (Mon, 22 Jun 2026)

  Changed paths:
    M 
docs/pages/pmd/devdocs/major_contributions/adding_a_new_antlr_based_language.md
    M docs/pages/release_notes.md
    M 
pmd-core/src/main/java/net/sourceforge/pmd/lang/ast/impl/antlr4/AntlrBaseParser.java
    A 
pmd-core/src/main/java/net/sourceforge/pmd/lang/ast/impl/antlr4/AntlrBaseParserWithErrorHandling.java
    A 
pmd-core/src/main/java/net/sourceforge/pmd/lang/ast/impl/antlr4/AntlrErrorListener.java
    M 
pmd-core/src/main/java/net/sourceforge/pmd/lang/ast/impl/antlr4/AntlrGeneratedParserBase.java
    A 
pmd-core/src/test/java/net/sourceforge/pmd/lang/ast/impl/antlr4/AntlrErrorListenerTest.java
    M 
pmd-kotlin/src/main/java/net/sourceforge/pmd/lang/kotlin/ast/PmdKotlinParser.java
    M 
pmd-swift/src/main/java/net/sourceforge/pmd/lang/swift/ast/PmdSwiftParser.java

  Log Message:
  -----------
  [core] ANTLR: Report syntax errors as processing errors (#6764)

* [core] ANTLR: add a common error listener

This error listener can be used during lexing
and parsing with ANTLR. It creates the correct
LexExceptions and ParseExceptions.

* [core] ANTLR: Automatically add error listeners

* [core] Refactor AntlrBaseParser, introduce a successor

* [core] AntlrBaseParser2 - fix compatibility issue

Needs to inherit from the old class so that existing
subclasses stay compatible

* [core] Rename AntlrBaseParser2 to AntlrBaseParserWithErrorHandling

* Fix javadoc

* [doc] Update release notes (#6764)

* [core] Add test for AntlrErrorListener and keep RecognitionException

* [swift] Rework error handling during parsing

* Fix imports



To unsubscribe from these emails, change your notification settings at 
https://github.com/pmd/pmd/settings/notifications


_______________________________________________
Pmd-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmd-commits

Reply via email to