[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: expression parser change
 
- From: Roberto Ierusalimschy <roberto@...>
 
- Date: Fri, 17 Dec 2010 10:51:34 -0200
 
> 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