diff options
Diffstat (limited to 'opcode.c')
-rw-r--r-- | opcode.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,7 +3,7 @@ | |||
3 | ** TecCGraf - PUC-Rio | 3 | ** TecCGraf - PUC-Rio |
4 | */ | 4 | */ |
5 | 5 | ||
6 | char *rcs_opcode="$Id: opcode.c,v 3.41 1995/10/09 13:10:20 roberto Exp roberto $"; | 6 | char *rcs_opcode="$Id: opcode.c,v 3.42 1995/10/09 18:45:59 roberto Exp roberto $"; |
7 | 7 | ||
8 | #include <setjmp.h> | 8 | #include <setjmp.h> |
9 | #include <stdlib.h> | 9 | #include <stdlib.h> |
@@ -678,7 +678,7 @@ void lua_pushstring (char *s) | |||
678 | */ | 678 | */ |
679 | void lua_pushliteral (char *s) | 679 | void lua_pushliteral (char *s) |
680 | { | 680 | { |
681 | tsvalue(top) = lua_constant[luaI_findconstant(lua_constcreate(s))]; | 681 | tsvalue(top) = lua_constant[luaI_findconstantbyname(s)]; |
682 | tag(top) = LUA_T_STRING; | 682 | tag(top) = LUA_T_STRING; |
683 | incr_top; | 683 | incr_top; |
684 | } | 684 | } |