Related articles |
---|
Ada95 location information dommo1234@my-deja.com (1999-06-14) |
Re: Ada95 location information Stephen.Leake@gsfc.nasa.gov (Stephen Leake) (1999-06-15) |
From: | dommo1234@my-deja.com |
Newsgroups: | comp.lang.ada,comp.compilers |
Date: | 14 Jun 1999 23:04:13 -0400 |
Organization: | Deja.com - Share what you know. Learn what you don't. |
Keywords: | Ada, question |
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.
Return to the
comp.compilers page.
Search the
comp.compilers archives again.