comp.lang.ada
 help / color / mirror / Atom feed
From: dommo1234@my-deja.com
Subject: Ada95 location information
Date: 1999/06/14
Date: 1999-06-14T00:00:00+00:00	[thread overview]
Message-ID: <99-06-064@comp.compilers> (raw)

All,

I'm writing a program in Ada95 and require that when exceptions are
thrown, the location in the source code is included in the message, not
just in the call stack display. I realise there's no pre-processor, but
C and C++ compilers have special tags, eg. "__LINE__", and I wonder
whether Ada compilers have anything silimar. Does anyone know of any
way to obtain this information from the compiler at compile time?

I'm using the Aonix ObjectAda compiler by the way (version 7.1.105,
special edition).

Thanks,
Dom.




             reply	other threads:[~1999-06-14  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-14  0:00 dommo1234 [this message]
1999-06-15  0:00 ` Ada95 location information Stephen Leake
replies disabled

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