14 Oct 1999 21:19
Inline comments?
Sam Robertson <samr <at> Netscape.COM>
1999-10-14 19:19:10 GMT
1999-10-14 19:19:10 GMT
I'm trying to provide end-user UI and store some necessary 'flags' or
'code' within a line in the sieve code, but in order to make my UI as
flexible as possible I need to have inline comments like the /* */ in
C/C++ in Sieve. I could easily just use # comments and split a simple
line of code up over multiple lines, but that affects readability which
makes administration difficult without my UI.
Has there been any consideration of adding inline comments, and if not
is there anything that would prevent us from supporting this in Sieve?
Example: if size :over /* this is an inline comment */ 100K { # this is
a comment
discard;
}
Obviously the text within and including the /* */ would be ignored as
white space. I can live with the text: "body" not allowing comments,
and thus not requiring any kind of special processing beyond
dot-stuffing and EOM.
Any thoughts here?
Sam
) At
the same time, I think that allowing one type of comment there but not
the other is a mistake. So I'm agreeing with you that it would be better
to disallow all types of comments after "text:" up to the CRLF.
Tony Hansen
tony <at> att.com
RSS Feed