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-d6e4c29733b43130c5222c49b3c4b9dfcd8bb893.tar.gz lua-d6e4c29733b43130c5222c49b3c4b9dfcd8bb893.tar.bz2 lua-d6e4c29733b43130c5222c49b3c4b9dfcd8bb893.zip |
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 @@ | |||
1 | %{ | 1 | %{ |
2 | 2 | ||
3 | char *rcs_luastx = "$Id: lua.stx,v 3.32 1996/02/14 18:25:04 roberto Exp roberto $"; | 3 | char *rcs_luastx = "$Id: lua.stx,v 3.33 1996/02/26 17:07:20 roberto Exp roberto $"; |
4 | 4 | ||
5 | #include <stdio.h> | 5 | #include <stdio.h> |
6 | #include <stdlib.h> | 6 | #include <stdlib.h> |
@@ -487,7 +487,7 @@ funcname : var { $$ =$1; init_func(); } | |||
487 | code_word(luaI_findconstant($3)); | 487 | code_word(luaI_findconstant($3)); |
488 | $$ = 0; /* indexed variable */ | 488 | $$ = 0; /* indexed variable */ |
489 | init_func(); | 489 | init_func(); |
490 | add_localvar(lua_constcreate("self")); | 490 | add_localvar(luaI_createfixedstring("self")); |
491 | } | 491 | } |
492 | ; | 492 | ; |
493 | 493 | ||