Boriss Mejias wrote:

Raphael Collet wrote:

Torsten Anders wrote:

Unfortunately, there is another thing: How likely is it that existing code does (perhaps accidentally) something like

    {P _X}

instead of

    {P _ X}

So far, the compiler treats both the same.



Really? That's a bug. The first statement is simply not syntactically correct.


jeezes! it's true, if you do

declare
proc {P _X} {Browse X} end

it's accepted as a 2 arguments procedure... I'll submit a bug report then.

cheers
Boriss


It's correct according to "The Oz Notation" which defines tokens by a longest match rule, with a rule for the keyword _ and no other rule starting with an underscore.

Yves



Cheers,
raph

_________________________________________________________________________________ mozart-users mailing list [email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users


_________________________________________________________________________________ mozart-users mailing list [email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users



_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to