simon-svn: charset: simon

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Wed Nov 9 21:38:39 GMT 2011


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     simon
Revision:       9328
Date:           2011-11-09 21:38:39 +0000 (Wed, 09 Nov 2011)

Log message (11 lines):
Correct a comment.

I had wrongly believed my TYPECHECK macro double-evaluated one of its
arguments and hence would cause side effects to happen twice. But in
fact I've just realised that although it double-_expands_ the
argument, it doesn't double-_evaluate_ it: the two expansions occur in
mutually exclusive branches of a ?:, and hence cannot both be
executed.

So I've removed the comment that says my macro is rubbish. My macro is
in fact great :-)

Modified files:
U   charset/iso2022.c

Links:
http://svn.tartarus.org/sgt/?rev=9328&view=rev
http://svn.tartarus.org/sgt/charset/iso2022.c?rev=9328&r1=9327&r2=9328



More information about the tartarus-commits mailing list