Editor window: Code contents

adderek

Member²
Hi,

In the Code contents bar (Tools/Code contents) only top-most declarations are displayed.
Code example from bellow would result in only proc_Parent being displayed on the list.

Code:
CREATE OR REPLACE PACKAGE BODY my_Body IS
   PROCEDURE proc_Parent(p_1 NUMBER) IS
      PROCEDURE proc_Child(p_1 NUMBER) IS
      BEGIN
         NULL;
      END proc_Child;
   BEGIN
      NULL;
   END proc_Parent;
END my_Body;
 
The IS or AS is missing after the "CREATE OR REPLACE PACKAGE BODY". This is what confuses the parser.
 
Are you sure? This is how it looks for me:

pcproc.gif
 
You are right,
I haven't looked into Declaration. My assumption was that it should be directly under the proc_Parent.
 
Back
Top