lua-users home
lua-l archive

Re: expression parser change

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> The point is to get rid of prefixexp folding it into simpleexp.
> The prefixexp rule just limits the syntax without any reason.
> 
> [...]
> 
> Of course, it's 100% backwards compatible.
It is not...
The following chunk has the same meaning in 5.1 and 5.2 alpha,
but gets a different meaning with this change:
 a = nil
 (print or io.write)(a)
-- Roberto

AltStyle によって変換されたページ (->オリジナル) /