[Issue 1053] New: Make 'static else if' or 'static if (...) {...} else if' work
Frits van Bommel
fvbommel at REMwOVExCAPSs.nl
Mon Mar 12 07:07:55 PDT 2007
Jarrett Billingsley wrote:
> "Bill Baxter" <dnewsgroup at billbaxter.com> wrote in message
> news:et2qs5$2okg$1 at digitalmars.com...
>> Maybe perl/python/ruby/cpp/tcl were right. Else if should be a single
>> keyword. Then it wouldn't be an issue.
>
> Phh.. that's because their grammars aren't as flexible ;)
>
> But C++ doesn't have "elseif" as a single word. Maybe you're thinking of
> the "#elif" preprocessor command?
I didn't see 'c++' mentioned, only 'cpp', which is (confusingly) also a
common acronym for the C (or C++) pre-processor. So I'd guess he was
indeed thinking of #elif :).
More information about the Digitalmars-d-bugs
mailing list