diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1996-02-26 18:00:27 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1996-02-26 18:00:27 -0300 |
| commit | d6e4c29733b43130c5222c49b3c4b9dfcd8bb893 (patch) | |
| tree | 379cb091e690a3680bf1f26f23658d5d9af4789c /lua.stx | |
| parent | 3e429699792218af45a0f399542e14563c1a173b (diff) | |
| download | lua-github-d6e4c29733b43130c5222c49b3c4b9dfcd8bb893.tar.gz | |
fixed strings (not collectable) don't need to be inserted in the constant table.
Diffstat (limited to 'lua.stx')
| -rw-r--r-- | lua.stx | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ %{ -char *rcs_luastx = "$Id: lua.stx,v 3.32 1996/02/14 18:25:04 roberto Exp roberto $"; +char *rcs_luastx = "$Id: lua.stx,v 3.33 1996/02/26 17:07:20 roberto Exp roberto $"; #include <stdio.h> #include <stdlib.h> @@ -487,7 +487,7 @@ funcname : var { $$ =$1; init_func(); } code_word(luaI_findconstant($3)); $$ = 0; /* indexed variable */ init_func(); - add_localvar(lua_constcreate("self")); + add_localvar(luaI_createfixedstring("self")); } ; |
