[M3devel] FW: put full paths to source files in debug info]
Rodney M. Bates
rodney.bates at wichita.edu
Fri Feb 29 22:18:53 CET 2008
Tony Hosking wrote:
>> We don't have anything like __FILE__ and __LINE__ in Modula-3. I have a
>> largish program full of assertions with it's own coded assertion
>> handling,
>> including recoverable (in a sense, roll back to a consistent state)
>> assertion
>> failures. It could use something like this. But it also seems
>> pretty hackish
>> to me too.
>
>
> Sure we do:
>
> Compiler.ThisLine()
> Compiler.ThisFile()
>
Thank you. I didn't know about these.
--
-------------------------------------------------------------
Rodney M. Bates, retired assistant professor
Dept. of Computer Science, Wichita State University
Wichita, KS 67260-0083
316-978-3922
rodney.bates at wichita.edu
More information about the M3devel
mailing list