Skip to content

Commit 70296ae

Browse files
committed
[plsql] Fix unit tests after KEYWORD_UNRESERVED is removed
1 parent 9b20ec5 commit 70296ae

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

pmd-plsql/etc/grammar/PLSQL.jjt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,10 @@ import net.sourceforge.pmd.lang.plsql.ast.internal.ParsingExclusion;
171171
import java.util.ArrayList;
172172
import java.util.List;
173173

174+
/**
175+
* @deprecated PLSQLParserImpl should have been package private because this is an implementation class
176+
* that should not be used directly.
177+
*/
174178
@Deprecated
175179
public class PLSQLParserImpl {
176180

pmd-plsql/src/test/resources/net/sourceforge/pmd/lang/plsql/ast/CompoundTriggerWithAdditionalDeclarations4270.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@
151151
| +- ExceptionHandler[@CanonicalImage = null]
152152
| +- QualifiedName[@CanonicalImage = "OTHERS", @Image = "OTHERS"]
153153
| | +- UnqualifiedID[@CanonicalImage = "OTHERS", @Image = "OTHERS"]
154-
| | +- KEYWORD_UNRESERVED[@CanonicalImage = "OTHERS", @Image = "OTHERS"]
155154
| +- Statement[@CanonicalImage = null]
156155
| +- UnlabelledStatement[@CanonicalImage = null]
157156
| +- Expression[@CanonicalImage = "RAISE_APPLICATION_ERROR", @Image = "RAISE_APPLICATION_ERROR"]
@@ -206,7 +205,6 @@
206205
| +- ExceptionHandler[@CanonicalImage = null]
207206
| +- QualifiedName[@CanonicalImage = "OTHERS", @Image = "OTHERS"]
208207
| | +- UnqualifiedID[@CanonicalImage = "OTHERS", @Image = "OTHERS"]
209-
| | +- KEYWORD_UNRESERVED[@CanonicalImage = "OTHERS", @Image = "OTHERS"]
210208
| +- Statement[@CanonicalImage = null]
211209
| +- UnlabelledStatement[@CanonicalImage = null]
212210
| +- Expression[@CanonicalImage = "RAISE_APPLICATION_ERROR", @Image = "RAISE_APPLICATION_ERROR"]

pmd-plsql/src/test/resources/net/sourceforge/pmd/lang/plsql/ast/ExceptionHandlerTomKytesDespair.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,6 @@
182182
| +- ExceptionHandler[@CanonicalImage = null]
183183
| | +- QualifiedName[@CanonicalImage = "OTHERS", @Image = "OTHERS"]
184184
| | | +- UnqualifiedID[@CanonicalImage = "OTHERS", @Image = "OTHERS"]
185-
| | | +- KEYWORD_UNRESERVED[@CanonicalImage = "OTHERS", @Image = "OTHERS"]
186185
| | +- Statement[@CanonicalImage = null]
187186
| | +- UnlabelledStatement[@CanonicalImage = null]
188187
| | +- Expression[@CanonicalImage = "NULL", @Image = "NULL"]

0 commit comments

Comments
 (0)