No parenthesis for assert?
Manfred Nowak
svv1999 at hotmail.com
Sat Jan 14 06:18:29 PST 2012
Stewart Gordon wrote:
> then the form
> assert ( AssignExpression , AssignExpression )
No, the OP seems to want a syntax error for this form.
For me it is more likely, that the OP wants to introduce some sort of
command-syntax as in oberon, but without showing, that this is parsable
at all.
In addition: the OP semms not to be aware of the thoughtful work, that
has to be done, to recognize all the exceptions of generell rules.
According to the suggestion this would be unambiguous:
assert( assert( <Expression1>), <Expression2>)
-manfred
More information about the Digitalmars-d
mailing list