PLSQL.DOC : Problems with TRIGGER-Desc

orca777

Member³
The folowing Code :

/**PROJEKT ASTER {#SKIP}
*
* TYP : TRIGGER
* Skriptfile : < atduabbi.sql >
* Zweck : < Autoversorgung der a_duab_id bei INSERT >
* Version : < $Revision: 1.0 $ >
*
* Autor : < Karl Reitschuster (CSC Ploenzke) >
* erstellt am : < 21.08.2003 >
* ge
 
The parser is confused by the word "TRIGGER" in the first comment block. If you remove or rename it, the generated document will be okay.

We'll fix this.

------------------
Marco Kalter
Allround Automations
 
Originally posted by mkalter:
The parser is confused by the word "TRIGGER" in the first comment block. If you remove or rename it, the generated document will be okay.

We'll fix this.

a) does the SKIP-command not work ?
it should ignore the Comment-Block

AFTER removing the Trigger-keyword
the output is still confusing :-(

ASTER@ORMK
index

Trigger tr_a_duab_bri
TRIGGER tr_a_duab_bri BEFORE INSERT ON aster_du_abstellungen FOR EACH ROW
/** Autoversorgung der a_duab_id bei INSERT
#author < Karl Reitschuster (CSC Ploenzke) >
*/

Autoversorgung der a_duab_id bei INSERT

Author
< Karl Reitschuster (CSC Ploenzke) >

--------------------------------------------------------------------------------

Second question (interstest me) is how do you parse the SourceCode, do you use a scanner like yacc/lex for you syntax-analyses, or do you have an own scanner-modul?

Orca

[This message has been edited by orca777 (edited 22 August 2003).]
 
Hi,
With a PROCEDURE-Header-Comment with PROCEDURE-Keywork inluded there is no problem. it seems to be the scanning-code of the Trigger-Code
Regards Orca
 
The skip tag works okay. The comment block is ignored as documentation, but is included in the trigger specification (due to the TRIGGER keyword in the comment).

The second comment block is also incorrectly included in the specification, which can be prevented if it is moved beyond the DECLARE or BEGIN. We'll fix this too. There shouldn't be any comments in the specification.

[This message has been edited by mkalter (edited 22 August 2003).]
 
Back
Top