Accept double ampersand as well
This commit is contained in:
@ -343,15 +343,6 @@ ASTSqlPlusCommand SqlPlusCommand() :
|
||||
{ jjtThis.setImage(sb.toString()) ; return jjtThis ; }
|
||||
}
|
||||
|
||||
/*
|
||||
SRT 2011-04-17 This syntax breaks the parser when fields of record.attach* are referenced in PL/SQL
|
||||
void attachLibrary() :
|
||||
{}
|
||||
{
|
||||
<".attach"> <IDENTIFIER> <IDENTIFIER> <END> <IDENTIFIER>
|
||||
}
|
||||
*/
|
||||
|
||||
/**
|
||||
* All global definitions of triggers, functions and procedures are evaluated here.
|
||||
* Every occurrence goes under a new PACKAGE-Node in the XML document.
|
||||
@ -5122,22 +5113,17 @@ TOKEN :
|
||||
//( <LETTER> ( "#" ) )
|
||||
|
|
||||
(
|
||||
"&"
|
||||
(
|
||||
( <LETTER> | "_" ) ( <LETTER> | <DIGIT> | "$" | "_" | "#" )+
|
||||
(".")?
|
||||
)?
|
||||
<LEXICAL_PARAMETER> ( <LETTER> | <DIGIT> | "$" | "_" | "#" )*
|
||||
)
|
||||
|
|
||||
( (<LETTER> | "$" ) ( <LETTER> | <DIGIT> | "$" | "_" | "#" )* )
|
||||
|
|
||||
//SRT ( "\"" (<_CHARACTER_WO_ASTERISK>)* "\"" )
|
||||
( "\"" <LETTER> ( <LETTER> | <DIGIT> | "$" | "_" | "#" )* "\"" )
|
||||
>
|
||||
|
|
||||
< LEXICAL_PARAMETER:
|
||||
(
|
||||
"&"
|
||||
("&&" | "&")
|
||||
(
|
||||
( <LETTER> | <DIGIT> | "$" | "_" | "#" )+
|
||||
(".")?
|
||||
|
@ -167,7 +167,7 @@ public class PLSQLParserVisitorAdapter implements PLSQLParserVisitor {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object visit(ASTRead2NextTokenOccurrence node, Object data) {
|
||||
public Object visit(ASTRead2NextTokenOccurrence node, Object data) {
|
||||
return visit((PLSQLNode) node, data);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user