Claus Pedersen
Member³
I have the package code in a file:
If I open this file in program window, I get the expected tabs for package spec. and package body, but the package body is corrupted and I get a third tab with a question mark and the rest of the body code.
I (of course) get the following errors when trying to compile the package:
Error: PLS-00111: end-of-file in comment
Error: PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:
It seems that PLD wrongly interprets the slash in the comment (line 8 in the code above) as a SQL delimiter and not a part of the comment.
I am using version 16.0.4.2161 (64 bit)
SQL:
CREATE PACKAGE test IS
END;
/
CREATE PACKAGE BODY test IS
PROCEDURE tester IS
BEGIN
/* this is a comment with a slash at the beginning of the line:
/
*/
NULL;
END;
END;
/
If I open this file in program window, I get the expected tabs for package spec. and package body, but the package body is corrupted and I get a third tab with a question mark and the rest of the body code.
I (of course) get the following errors when trying to compile the package:
Error: PLS-00111: end-of-file in comment
Error: PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:
It seems that PLD wrongly interprets the slash in the comment (line 8 in the code above) as a SQL delimiter and not a part of the comment.
I am using version 16.0.4.2161 (64 bit)