On Dec 17, 2003, at 6:33 PM, John McNally wrote:


This may not warrant much developer time, but I thought I'd note it in
case it ever helps with some other issue.

Normally multi-line statements are not allowed so that

#if (A || B)
  foo
#end

cannot be reformatted as

#if (A
 || B)
  foo
#end

however I came upon a case similar to the second that was working.  It
turns out if you write it as

#if ((A)
 || B)
  foo
#end

The parser will not complain and the conditional is interpreted
correctly.  Is this on purpose or an innocuous bug?

Bug. Because it's scarfing the extra NL incorrectly. I just committed the change to allow newlines, so this bug/oddity is now masked :)



john mcnally



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


--
Geir Magnusson Jr                                   203-247-1713(m)
[EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to