diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-07-03 14:18:07 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-07-03 14:18:07 -0300 |
commit | 4d46289331395a845c5de1f6c0e0fe873c50db4f (patch) | |
tree | 96649174d3c13830549ad026af0133e0b789d411 /ltm.c | |
parent | 8eca21c2e85625390a2a3b08c231e75e315980b0 (diff) | |
download | lua-4d46289331395a845c5de1f6c0e0fe873c50db4f.tar.gz lua-4d46289331395a845c5de1f6c0e0fe873c50db4f.tar.bz2 lua-4d46289331395a845c5de1f6c0e0fe873c50db4f.zip |
Local attributes can be used in list of local variables
The syntax for local attributes ('const'/'toclose') was unified with
the regular syntax for local variables, so that we can have variables
with attributes in local definitions with multiple names; for instance:
local <toclose> f, <const> err = io.open(fname)
This new syntax does not implement constant propagation, yet.
This commit also has some small improvements to the manual.
Diffstat (limited to 'ltm.c')
0 files changed, 0 insertions, 0 deletions