Menu

#36 error parsing cursor declaration

0.8.1
open
nobody
None
5
2004-04-14
2004-04-14
No

Parser breaks on '(' in:

CURSOR something ( id NUMBER, selector VARCHAR2 DEFAULT
'0' ) IS
(
-- not important select
)
union all
(
-- not important select
)

pldoc output:

PLDoc version: 0.8.1
Parsing file testinput/PLACE.pck ...
Error parsing line 101, column 5
Last consumed token: "IS"
net.sourceforge.pldoc.parser.ParseException:
Encountered "(" at line 101, column
5.
Was expecting one of:
"REPLACE" ...
"DEFINER" ...
"CURRENT_USER" ...
<...>
<IDENTIFIER> ...

at
net.sourceforge.pldoc.parser.PLSQLParser.generateParseException(PLSQL
Parser.java:10027)
at
net.sourceforge.pldoc.parser.PLSQLParser.jj_consume_token(PLSQLParser
.java:9890)
at
net.sourceforge.pldoc.parser.PLSQLParser.packageBody(PLSQLParser.java
:1525)
at
net.sourceforge.pldoc.parser.PLSQLParser.input(PLSQLParser.java:1066)

at net.sourceforge.pldoc.PLDoc.main(PLDoc.java:139)
Press any key to continue . . .

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.