24 Jui
2016
24 Jui
'16
08:55
Marc, is there any way I can get the sourcecode filename, name of global define, and line number, that a particular line was compiled at? E.g. (so here, ##file, ##in-define and ##line would be output by the macro so the compiler would actually compile those at line 3, 6 and 8.) (define-macro (loc) `(print "This was printed at " ##file " in define " ##in-define " line " ##line "\n")) (loc) (define (something) (loc)) (loc) ? Thanks.