if (statement that will return false) DEBUG(...); do action;
and then I noticed, uncommenting the DEBUG() macro a few minutes ago changed the dohicky.
This is exactly why whenever I've written a 'style' file for any of the projects I've done (and in fact, usually follow) a note that it should *always* be if () { } and never if () just for this reason!!!
Ok, I'm so freaking stupid... I should just get some sleep and code when I can pay attention (and remember my old tool Perl).
No comments:
Post a Comment