5. Embedded SQL for Ada : Preprocessor Operation : Coding Requirements for Embedded SQL Programs : Comments Embedded in Ada Output
 
Share this page                  
Comments Embedded in Ada Output
Each Embedded SQL statement generates one comment and a few lines of Ada code. You may find that the preprocessor translates 50 lines of Embedded SQL into 200 lines of Ada. This can confuse the program developer trying to debug the original source code. To facilitate debugging, each group of Ada statements associated with a particular Embedded SQL statement is delimited by a comment corresponding to the original Embedded SQL source. Each comment is one line in length and informs the reader of the file name, line number, and type of statement in the original source file.