ietf-mta-filters
[Top] [All Lists]

Re: Error in rfc3028? Only one elsif allowed per if?

2002-08-11 16:11:59

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 11 August 2002 17:05, Simon Josefsson wrote:
<snip>
   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.

If I follow that reasoning, then there are also multiple else's allowed 
after a single if ;-) - the formulation is the same for both elsif and 
else.

 "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.

- -> rfc-editor(_at_)rfc-editor(_dot_)org?subject=errata%20rfc3028
?

Marc

BTW: Do you intend to make the capabilities available in the metadata 
map for the managesieve slave you wrote for KDE? Or shall I do that?

- -- 
Mutig warf sich die kleine Überwachungskamera zwischen Täter Opfer!
                                        --Rena Tangens / FoeBuD e.V.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9Vu2W3oWD+L2/6DgRAgfmAJ9PFD9TU3/GQB2GgoRZSM00ZRK6rwCgxsuG
UGwTj/8Ejye+XHx3KVeqbEo=
=uLt5
-----END PGP SIGNATURE-----