[plsql] Fix usage of "IN" - it is a reserved word

This commit is contained in:
Andreas Dangel 2022-04-28 11:34:25 +02:00
parent 35b6cc79ca
commit 8370d6253d
No known key found for this signature in database
GPG Key ID: 93450DF2DF9A3FA3

View File

@ -2823,7 +2823,8 @@ ASTEmbeddedSqlStatement EmbeddedSqlStatement() :
{
<EXECUTE> <IMMEDIATE> StringExpression()
[
( IntoClause() | BulkCollectIntoClause() ) [ UsingClause() ]
IntoClause() [ UsingClause() ]
| BulkCollectIntoClause() [ UsingClause() ]
| UsingClause() [ DynamicReturnClause() ]
| DynamicReturnClause()
]
@ -2844,7 +2845,8 @@ ASTDynamicReturnClause DynamicReturnClause() :
void UsingClause() #void :
{}
{
<USING> [ <IN> [ <OUT> ] | <OUT> ] Expression() ("," [ <IN> [ <OUT> ] | <OUT> ] Expression())*
<USING> [ <IN> [ <OUT> ] | <OUT> ] Expression()
( "," [ <IN> [ <OUT> ] | <OUT> ] Expression() )*
}
ASTPipelineStatement PipelineStatement() :
@ -6600,7 +6602,6 @@ ASTID ID(): {}
//20120501 | <HEAP>
| <IF> //SYNTAX
//20120501 | <IMMEDIATE>
| <IN> //RESERVED WORD
| <INDEX> //RESERVED WORD
//20120501 | <INDICATOR>
| <INSERT> //SYNTAX //RESERVED WORD
@ -6833,7 +6834,6 @@ ASTQualifiedID QualifiedID(): {}
//20120501 | <HEAP>
//<IF>
//20120501 | <IMMEDIATE>
//<IN>
//<INDEX>
//20120501 | <INDICATOR>
//<INSERT>