emacs-devel
[Top][All Lists]
Advanced

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

Re: [C source] Inconsistent comments on preprocessor conditionals


From: Phil Sainty
Subject: Re: [C source] Inconsistent comments on preprocessor conditionals
Date: Sat, 09 Jul 2022 02:21:40 +1200
User-agent: Orcon Webmail

On 2022-07-09 01:55, Akib Azmain Turja wrote:
#ifndef FOO
#else /* not !FOO */
#endif /* not !FOO */

Very confusing though.

It could be confusing to have an else clause with an
"if not" in the first place (that double-negative is
there regardless of whether it's commented that way
too); but of course Eli is right -- my logic doesn't
hold for that scenario.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]