hi,

according to the neko grammar, this should be allowed:

a = b = c

It's not. nekoc says it's invalid access.
I can imagine why this would be, if first "a=b" is evaluated, which returns
the value of "a", or possibly some kind of parse tree for the expression
"a=b".
Neither of these are an lvalue that can be assigned something (c in this
case).

Shouldn't the grammar be updated to reflect this?

thanks,
kjs
-- 
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to