Menu

#96 Parsing error when function return type contains a link (@)

open
nobody
None
5
2012-06-06
2012-06-06
No

Create the following package and run
pldoc.bat -url jdbc:oracle:thin:@sdu10036.ikb.de:1532:ikb3 -user %SCHEMA% -password ikbs -sql %%%%%%%% -d %SCHEMA% -types "\"FUNCTION,PACKAGE,PACKAGE BODY,PROCEDURE,TRIGGER,TYPE,TYPE BODY\""

CREATE OR REPLACE PACKAGE pk_pldoc_database_link
IS
/**
* Testpackage for pldoc bug.
* @headcom
*/

/**
* Testcase for pldoc bug.
* @return dual.
*/
FUNCTION fk_get_table_from_dual RETURN dual@dws%ROWTYPE;

END;

CREATE OR REPLACE PACKAGE BODY pk_pldoc_database_link IS
/**
* Testpackage for pldoc bug.
* @headcom
*/

FUNCTION fk_get_table_from_dual
RETURN DUAL@dws%ROWTYPE IS
t DUAL@dws%ROWTYPE;
BEGIN
SELECT SYSDATE INTO t FROM DUAL@dws;

RETURN t;
END;

BEGIN
-- Package Initialisierung
NULL;
END;

Discussion

  • Stuart Turton

    Stuart Turton - 2012-06-10

    I'll have a look at thie

     
  • Stuart Turton

    Stuart Turton - 2012-06-11

    Fixed: I think

     

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.