comp.lang.ada
 help / color / mirror / Atom feed
From: carl@nlr.nl (Carl G.M. Welman)
Subject: __FILE__ and __LINE__
Date: 1997/04/07
Date: 1997-04-07T00:00:00+00:00	[thread overview]
Message-ID: <5ia77f$go3@nlrgup.nlr.nl> (raw)


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.




             reply	other threads:[~1997-04-07  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-04-07  0:00 Carl G.M. Welman [this message]
1997-04-07  0:00 ` __FILE__ and __LINE__ Robert Dewar
1997-04-08  0:00   ` Carl G.M. Welman
1997-04-08  0:00     ` Robert Dewar
1997-04-09  0:00   ` Fergus Henderson
1997-04-07  0:00 ` David C. Hoos, Sr.
replies disabled

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