comp.lang.ada
 help / color / mirror / Atom feed
* gnatpp error message
@ 2012-08-01 19:03 awdorrin
  2012-08-02  0:35 ` Britt
  0 siblings, 1 reply; 3+ messages in thread
From: awdorrin @ 2012-08-01 19:03 UTC (permalink / 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.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-08-07  7:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-01 19:03 gnatpp error message awdorrin
2012-08-02  0:35 ` Britt
2012-08-02 12:40   ` awdorrin

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