From 2e9aa0627312ed92bd99c8ac92705a09da7a9597 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Fournier?= Date: Sat, 11 May 2024 23:13:12 +0200 Subject: [PATCH] Fix API compatibility PLSQLParserImpl is public which shouldnt be --- pmd-plsql/etc/grammar/PLSQL.jjt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pmd-plsql/etc/grammar/PLSQL.jjt b/pmd-plsql/etc/grammar/PLSQL.jjt index 39531df865..60fcd43865 100644 --- a/pmd-plsql/etc/grammar/PLSQL.jjt +++ b/pmd-plsql/etc/grammar/PLSQL.jjt @@ -163,6 +163,7 @@ import net.sourceforge.pmd.lang.plsql.ast.internal.ParsingExclusion; import java.util.ArrayList; import java.util.List; +@Deprecated public class PLSQLParserImpl { /** @@ -5431,9 +5432,9 @@ void KEYWORD(String id) #void: // This is only used to generate a node class // @Deprecated -void KEYWORD_UNRESERVED (): {}{KEYWORD_NOT_RESERVED()} +ASTKEYWORD_UNRESERVED KEYWORD_UNRESERVED (): {}{KEYWORD_NOT_RESERVED() {return jjtThis;}} -void KEYWORD_NOT_RESERVED () #void: {} +private void KEYWORD_NOT_RESERVED () #void: {} { // PL/SQL UNRESERVED KEYWORDS - V$RESERVED.RESERVED='N' "REF" | "LAST" | "TRIM" | "OVER" | "UNBOUNDED" | "PRECEDING" | "FOLLOWING" | "WITHIN" |