diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-10-18 14:46:39 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-10-18 14:46:39 -0200 |
| commit | 81489beea1a201b58dba964b6bbfd263f3683f25 (patch) | |
| tree | 11c46a0b9c297e0e7054902110faeb26c726262f /lua.stx | |
| parent | ac30aad09b8f793f42ccec1d3c463683f8989384 (diff) | |
| download | lua-81489beea1a201b58dba964b6bbfd263f3683f25.tar.gz lua-81489beea1a201b58dba964b6bbfd263f3683f25.tar.bz2 lua-81489beea1a201b58dba964b6bbfd263f3683f25.zip | |
functions may use many upvalues, to keep global values.
Diffstat (limited to '')
| -rw-r--r-- | lua.stx | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,6 +1,6 @@ | |||
| 1 | %{ | 1 | %{ |
| 2 | /* | 2 | /* |
| 3 | ** $Id: lua.stx,v 1.10 1997/10/15 20:16:00 roberto Exp roberto $ | 3 | ** $Id: lua.stx,v 1.11 1997/10/16 10:59:34 roberto Exp roberto $ |
| 4 | ** Syntax analizer and code generator | 4 | ** Syntax analizer and code generator |
| 5 | ** See Copyright Notice in lua.h | 5 | ** See Copyright Notice in lua.h |
| 6 | */ | 6 | */ |
| @@ -38,7 +38,7 @@ int luaY_parse (void); | |||
| 38 | #define MAXSTATES 6 | 38 | #define MAXSTATES 6 |
| 39 | 39 | ||
| 40 | /* maximum number of upvalues */ | 40 | /* maximum number of upvalues */ |
| 41 | #define MAXUPVALUES 8 | 41 | #define MAXUPVALUES 16 |
| 42 | 42 | ||
| 43 | /* | 43 | /* |
| 44 | ** Variable descriptor: if n>0, represents global variable indexed | 44 | ** Variable descriptor: if n>0, represents global variable indexed |
