Marc Mutz <mutz(_at_)kde(_dot_)org> writes:
Hi!
I just stumbled across this one:
rfc3028:
3.1. Control Structure If
There are three pieces to if: "if", "elsif", and "else". Each is
actually a separate command in terms of the grammar. However, an
elsif MUST only follow an if, and an else MUST follow only either an
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
if or an elsif. An error occurs if these conditions are not met.
Error or intentional?
It says "an elsif", not "one elsif" -- having several elsif's per if
seems fine, as they "follow" the if in some sense. "an elsif MUST
only directly follow an if or elsif" is more clear though, the word
"follow" is not strictly defined in the language, I think.