On 2013-11-11 12:04, Rikki Cattermole wrote:

Ok pragmas essentially call functions like error in the compiler [0].
What I am thinking error will do is instead of outputting like msg it'll
call error[1]. This is exactly what you want.

[0]
https://github.com/D-Programming-Language/dmd/blob/master/src/statement.c#L2862

[1]
https://github.com/D-Programming-Language/dmd/blob/master/src/statement.c#L2957

Yes, I still don't understand why you would want it as a pragma. Be usable outside of macros?

--
/Jacob Carlborg

Reply via email to