don't parse lines starting with PROMPT
Status: Alpha
Brought to you by:
altumano
we like to add a line before the package like this:
PROMPT CREATE PACKAGE ...
so we have a better outout while running the creation
scripts.
But pldoc seems to parse this lines:
PROMPT CREATE OR REPLACE PACKAGE ...
CREATE OR REPLACE PACKAGE ...
...
Error parsing line 3, column 1
Last consumed token: "p_prj_sampling_mgr"
net.sourceforge.pldoc.parser.ParseException:
Encountered "CREATE" at line 3, column 1.
Was expecting one of:
"AS" ...
"AUTHID" ...
"IS" ...
Logged In: NO
We had the same problem:
Modify \src\javacc\Tokens.jj
<< line 19: >>
SPECIAL_TOKEN :
{
<SINGLE_LINE_COMMENT: "--"(~["\n","\r"])* ("\n"|"\r"|"\r\n")?>
}
<< to: >>
SPECIAL_TOKEN :
{
<SINGLE_LINE_COMMENT: ("--"|"prompt")(~["\n","\r"])*
("\n"|"\r"|"\r\n")?>
}
<< --- >>