I would say "elsif" itself is a typo - in most languages it is "elseif".
in that case both versions should be valid keywords - the current (but unusual) "elsif"
and the more common "elseif"

this would not introduce downsides but makes programmers life a bit more easy.

Am 25.08.2023 um 12:38 schrieb Horst Prote:
Hi,

in a sieve script I just made a syntax error and got this error message on
calling sievec:

   error: the else command must follow an if or elseif command.

My first thougth was "Are you kidding me!" as I used "elseif". But then I
realized that the correct syntax is "elsif". So I think that error message
should be corrected to

   error: the else command must follow an if or elsif command.

Thanks,
Horst
_______________________________________________
dovecot mailing list --dovecot@dovecot.org
To unsubscribe send an email todovecot-le...@dovecot.org

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to