SQL in script causes parser failure
Status: Alpha
Brought to you by:
altumano
Raised against 0.9.4 (svn)
Existing testinput (after fix of Tracker-1433480):-
src/test/resources/testinput/bugs/pldoc-1561459.sql
src/test/resources/testinput/schemalevel/sqlplus_commands.sql
src/test/resources/testinput/xe-problems/Create_wrapped_example.sql
Create SQLPLUS_TERMINATOR token and add another line to input()
" |(<SELECT>|<UPDATE>|<INSERT>|<DELETE>|<COMMIT>|<ROLLBACK>|<SAVEPOINT>|<LOCK><TABLE>|<MERGE>|<WITH>) skipPastNextTokenOccurrence(SQLPLUS_TERMINATOR) //Ignore SQL statements in scripts
"