diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-07-17 14:26:56 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-07-17 14:26:56 -0300 |
commit | d6af81084df569bc8e3bd0949ad6fc0b40c8468d (patch) | |
tree | 103b92a3fd9b1164763500054f7979f51f9aa4b4 /lcode.h | |
parent | 4846f7e3bb1397142ab0de808ae59c08db9832a6 (diff) | |
download | lua-d6af81084df569bc8e3bd0949ad6fc0b40c8468d.tar.gz lua-d6af81084df569bc8e3bd0949ad6fc0b40c8468d.tar.bz2 lua-d6af81084df569bc8e3bd0949ad6fc0b40c8468d.zip |
New kind of expression VKSTR
String literal expressions have their own kind VKSTR, instead of the
generic VK. This allows strings to "cross" functions without entering
their constant tables (e.g., if they are used only by some nested
function).
Diffstat (limited to 'lcode.h')
-rw-r--r-- | lcode.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -62,7 +62,6 @@ LUAI_FUNC void luaK_fixline (FuncState *fs, int line); | |||
62 | LUAI_FUNC void luaK_nil (FuncState *fs, int from, int n); | 62 | LUAI_FUNC void luaK_nil (FuncState *fs, int from, int n); |
63 | LUAI_FUNC void luaK_reserveregs (FuncState *fs, int n); | 63 | LUAI_FUNC void luaK_reserveregs (FuncState *fs, int n); |
64 | LUAI_FUNC void luaK_checkstack (FuncState *fs, int n); | 64 | LUAI_FUNC void luaK_checkstack (FuncState *fs, int n); |
65 | LUAI_FUNC int luaK_stringK (FuncState *fs, TString *s); | ||
66 | LUAI_FUNC void luaK_int (FuncState *fs, int reg, lua_Integer n); | 65 | LUAI_FUNC void luaK_int (FuncState *fs, int reg, lua_Integer n); |
67 | LUAI_FUNC void luaK_dischargevars (FuncState *fs, expdesc *e); | 66 | LUAI_FUNC void luaK_dischargevars (FuncState *fs, expdesc *e); |
68 | LUAI_FUNC int luaK_exp2anyreg (FuncState *fs, expdesc *e); | 67 | LUAI_FUNC int luaK_exp2anyreg (FuncState *fs, expdesc *e); |