From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,d3eb5330da5c51c7,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.66.74.40 with SMTP id q8mr1613598pav.19.1344325133198; Tue, 07 Aug 2012 00:38:53 -0700 (PDT) Path: p10ni3204332pbh.1!nntp.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!ctu-peer!ctu-gate!news.nctu.edu.tw!usenet.stanford.edu!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: awdorrin Newsgroups: comp.lang.ada Subject: gnatpp error message Date: Wed, 1 Aug 2012 12:03:03 -0700 (PDT) Organization: http://groups.google.com Message-ID: <303ab876-e420-41f7-86ce-6156175893d1@googlegroups.com> NNTP-Posting-Host: 192.91.173.36 Mime-Version: 1.0 X-Trace: posting.google.com 1343847784 6980 127.0.0.1 (1 Aug 2012 19:03:04 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 1 Aug 2012 19:03:04 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=192.91.173.36; posting-account=YkFdLgoAAADpWnfCBA6ZXMWTz2zHNd0j User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-08-01T12:03:03-07:00 List-Id: 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.