Hi,
The XML tokenising bodge that allows a sequence of
XML elements and comments to occur without commas
doesn't parse expressions properly. In particular it
doesn't respect the postfix tokens, e.g. the
following:
<br /><!-- hello -->.format();
causes an odd error regarding the format function,
which states the following:
MISHAP : Cannot format object
BECAUSE : Only Strings and XML comments can be
formatted
OBJECT : <br/>
ORIGIN : origin
LINE NO. : 1
PHASE : Evaluation
However, the format function is written correctly,
except the XML tokenising bodge joins the BR tag and
the XML comment using a CommaExpr, which then becomes
the first argument to the format function.
The correct behaviour is that the ApplyExpr for the
format function should be joined to the BR tag using
a CommaExpr - but this would actually be an error as
a comma is required to join XML to non-XML.