Another one for the surprise list: "?" after a continuation
Kevin Reid <[email protected]>
| Newsgroups | gmane.comp.lang.e.general |
|---|---|
| Message-ID | <[email protected]> |
Spot the bug:
for [uncaller, isTransparent] \
? ((def portrayal := uncaller.optUncall(specimen)) !=
null) \
in uncallers {
...
}
Under E-on-CL, this failed with "Undefined variable: portrayal".
I finally realized that the problem is that "?" at line start
introduces an updoc comment.
In E-on-Java, I get a syntax error at the end of the ? ... \ line.
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?
--
Kevin Reid <http://homepage.mac.com/kpreid/>