Menu

#19 VARRAY bug

0.8
closed-fixed
None
5
2003-10-14
2003-07-03
Anonymous
No

I've noticed there is a bug when PLDOC parses PL/SQL
scripts where the following line occures:

TYPE some_type IS VARRAY(10) OF NUMBER;

what is a type definition. And I found that you need to
modify the PLSQLParser.java file, the subtype_definition
function, and add the following case

case VARRAY:
jj_consume_token(VARRAY);
jj_consume_token(234);
jj_consume_token(UNSIGNED_NUMERIC_LITERAL);
jj_consume_token(235);
jj_consume_token(OF);
base_type = datatype();
break;

Regards,
Roman Zahorbenski
Roman.Zahorbenski@poczta.fm

Discussion

  • Albert Tumanov

    Albert Tumanov - 2003-07-04
    • assigned_to: nobody --> altumano
     
  • Albert Tumanov

    Albert Tumanov - 2003-07-04

    Logged In: YES
    user_id=86901

    Actually, PLSQLParser.java is generated from Productions.jj.
    There, the missing VARRAY support is even mentioned in comment.

     
  • Albert Tumanov

    Albert Tumanov - 2003-07-04
    • milestone: --> 299718
    • status: open --> closed-fixed
     
  • Albert Tumanov

    Albert Tumanov - 2003-07-04

    Logged In: YES
    user_id=86901

    fixed in CVS

     
  • Albert Tumanov

    Albert Tumanov - 2003-10-14
    • milestone: 299718 --> 0.8
     

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.