[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: macros vs. blocks




> That is a quality of implementation issue.  There is no reason that a macro
> system cannot allow you to write macros that refer to the source file and
> line where the macro is expanded.

Or even the file+line where a function is called from, like in Perl, so
you can write assert as a function, and even get a whole stack trace. I
think we've shot the assert macro example full of holes.

-- 
Trevor Blackwell      tlb@anybots.com       (650) 776-7870