[e-lang] Another one for the surprise list: "?" after a continuation

Mark Miller erights at gmail.com
Tue Mar 25 23:31:05 EDT 2008


On Tue, Mar 25, 2008 at 5:40 PM, Kevin Reid <kpreid at mac.com> wrote:
>  MarkM, can you comment on what the proper behavior for the parser in
>  this case is? I'm not saying that it should parse as a such-that, but
>  should it be a comment or a parse error?

I prefer that

    "\\", "\n" <whitespace> "?"

sequence cause a parse error, because there's no reliable way to
disambiguate what the programmer meant.

-- 
Text by me above is hereby placed in the public domain

 Cheers,
 --MarkM


More information about the e-lang mailing list