Skip to content

Commit

Permalink
[plsql] Fix unit tests after KEYWORD_UNRESERVED is removed
Browse files Browse the repository at this point in the history
  • Loading branch information
adangel committed Jun 27, 2024
1 parent 9b20ec5 commit 70296ae
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 4 additions & 0 deletions pmd-plsql/etc/grammar/PLSQL.jjt
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,10 @@ import net.sourceforge.pmd.lang.plsql.ast.internal.ParsingExclusion;
import java.util.ArrayList;
import java.util.List;

/**
* @deprecated PLSQLParserImpl should have been package private because this is an implementation class
* that should not be used directly.
*/
@Deprecated
public class PLSQLParserImpl {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@
| +- ExceptionHandler[@CanonicalImage = null]
| +- QualifiedName[@CanonicalImage = "OTHERS", @Image = "OTHERS"]
| | +- UnqualifiedID[@CanonicalImage = "OTHERS", @Image = "OTHERS"]
| | +- KEYWORD_UNRESERVED[@CanonicalImage = "OTHERS", @Image = "OTHERS"]
| +- Statement[@CanonicalImage = null]
| +- UnlabelledStatement[@CanonicalImage = null]
| +- Expression[@CanonicalImage = "RAISE_APPLICATION_ERROR", @Image = "RAISE_APPLICATION_ERROR"]
Expand Down Expand Up @@ -206,7 +205,6 @@
| +- ExceptionHandler[@CanonicalImage = null]
| +- QualifiedName[@CanonicalImage = "OTHERS", @Image = "OTHERS"]
| | +- UnqualifiedID[@CanonicalImage = "OTHERS", @Image = "OTHERS"]
| | +- KEYWORD_UNRESERVED[@CanonicalImage = "OTHERS", @Image = "OTHERS"]
| +- Statement[@CanonicalImage = null]
| +- UnlabelledStatement[@CanonicalImage = null]
| +- Expression[@CanonicalImage = "RAISE_APPLICATION_ERROR", @Image = "RAISE_APPLICATION_ERROR"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@
| +- ExceptionHandler[@CanonicalImage = null]
| | +- QualifiedName[@CanonicalImage = "OTHERS", @Image = "OTHERS"]
| | | +- UnqualifiedID[@CanonicalImage = "OTHERS", @Image = "OTHERS"]
| | | +- KEYWORD_UNRESERVED[@CanonicalImage = "OTHERS", @Image = "OTHERS"]
| | +- Statement[@CanonicalImage = null]
| | +- UnlabelledStatement[@CanonicalImage = null]
| | +- Expression[@CanonicalImage = "NULL", @Image = "NULL"]
Expand Down

0 comments on commit 70296ae

Please sign in to comment.