Menu

#92 Parser exception when using TRANSLATE(text USING charset)

open
5
2012-04-27
2012-04-27
No

PLDoc version: 1.1.2
Oracle version: 8.1.7.4.

I am getting a parser exception, as shown below although trimmed for brevity.

Last consumed token: "vcString"
net.sourceforge.pldoc.parser.ParseException: Encountered " "USING" "using "" at
line 16, column 49.
Was expecting one of:
"/" ...
"," ...
")" ...
"=" ...
This is caused by a call to:

procedure test is
vcString varchar2(10);
nvcString nvarchar2(10);
begin

vcString := 'Test';
nvcString := translate(vcString using nchar_cs);

end;

plsql accepts this with no problems.

Definition to reproduce the error is attached.

Discussion

  • Harald Jocham

    Harald Jocham - 2012-04-27

    Package definition to reproduce the error

     
  • Stuart Turton

    Stuart Turton - 2012-05-09

    Addressed in PLDoc 1.1.4

     

Log in to post a comment.