Evil preprocessor hack of the day [entries|reading|network|archive]
simont

[ userinfo | dreamwidth userinfo ]
[ archive | journal archive ]

Wed 2007-04-18 17:39
Evil preprocessor hack of the day
LinkReply
[personal profile] gerald_duckWed 2007-04-18 20:28
Why does it matter what assert() returns?

As a side note, since() plays merry hell with emacs's formatting…
Link Reply to this | Parent | Thread
[identity profile] gareth-rees.livejournal.comWed 2007-04-18 21:18
This could be fixed by hacking c-block-stmt-2-kwds in cc-langs.el, I think. But definitely a point against, yes.
Link Reply to this | Parent | Thread
[identity profile] ewx.livejournal.comWed 2007-04-18 21:27
It's sufficiently simple that you might just type it out rather than using a macro anyway.
Link Reply to this | Parent
[identity profile] ewx.livejournal.comWed 2007-04-18 21:25
The important point is that it expands to an expression, rather than (for instance) an if statement.
Link Reply to this | Parent
navigation
[ go | Previous Entry | Next Entry ]
[ add | to Memories ]