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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c6546cb6e04b1761,start X-Google-Attributes: gid103376,public From: carl@nlr.nl (Carl G.M. Welman) Subject: __FILE__ and __LINE__ Date: 1997/04/07 Message-ID: <5ia77f$go3@nlrgup.nlr.nl>#1/1 X-Deja-AN: 231233925 Organization: The National Aerospace Laboratory NLR Newsgroups: comp.lang.ada Date: 1997-04-07T00:00:00+00:00 List-Id: Dear all, I am looking for Ada equivalents for the C preprocessor macros "__FILE__" and "__LINE__", which result in the source file name (constant string) and the line number (integer) of the file/position they are specified, respectively. As far as I know there are no pragma's in Ada 95 or GNAT 3.x that do similar things. Maybe there are other means to do the same ? Or is this impossible in Ada 95 ? Regards, Carl.