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 . . .