comp.lang.ada
 help / color / mirror / Atom feed
From: awdorrin <awdorrin@gmail.com>
Subject: gnatpp error message
Date: Wed, 1 Aug 2012 12:03:03 -0700 (PDT)
Date: 2012-08-01T12:03:03-07:00	[thread overview]
Message-ID: <303ab876-e420-41f7-86ce-6156175893d1@googlegroups.com> (raw)

I have gnatpp going through my source code and it is encountering a few issues that I haven't been able to figure out yet.

Processing the file 'sccomm_b.ada' I get the following:

[11]  sccomm_b.ada
Pre_Operation failed for

Element Debug_Image: 
A_PACKAGE_BODY_DECLARATION
located in SC_COMMUNICATION (body, Unit_Id = 4, Context_Id = 1)
text position : 302 : 1 - 5242 : 21
   Nodes:
      Node            : 5486 - N_PACKAGE_BODY
      R_Node          : 5486 - N_PACKAGE_BODY
      Node_Field_1    : 0 - N_EMPTY
      Node_Field_2    : 0 - N_EMPTY
   Rel_Sloc           :-13
   obtained from the tree /home/aldorr/lasis/GNAT-SmW7hp/sccexec.adt (Tree_Id = 1)
Exception name: ASIS_UL.COMMON.FATAL_ERROR
Message: gnatpp-source_traversal.adb:152

Line '302' of sccomm_b.ada is (without the quotes):

"package body SC_COMMUNICATION is"

when I look a the corresponding 'sccomm_b.ada.pp' file that is generated, the last line written reads (without the quotes):

"package body"


This code compiles fine and I see no errors in the output, so I'm not sure why gnatpp is failing.

This same error occurs on a few other files in my project.




             reply	other threads:[~2012-08-07  7:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-01 19:03 awdorrin [this message]
2012-08-02  0:35 ` gnatpp error message Britt
2012-08-02 12:40   ` awdorrin
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox