comp.lang.ada
 help / color / mirror / Atom feed
* __FILE__ and __LINE__
@ 1997-04-07  0:00 Carl G.M. Welman
  1997-04-07  0:00 ` David C. Hoos, Sr.
  1997-04-07  0:00 ` Robert Dewar
  0 siblings, 2 replies; 6+ messages in thread
From: Carl G.M. Welman @ 1997-04-07  0:00 UTC (permalink / 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.




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

end of thread, other threads:[~1997-04-09  0:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-04-07  0:00 __FILE__ and __LINE__ Carl G.M. Welman
1997-04-07  0:00 ` David C. Hoos, Sr.
1997-04-07  0:00 ` 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

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