aboutsummaryrefslogtreecommitdiff
path: root/lcode.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2025-04-17 14:58:55 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2025-04-17 14:58:55 -0300
commit50fd8d03c33bbe52ac5b34c4eb748197b349cedd (patch)
treeef63c627346c7609fea578cd9d8399ae500c00b2 /lcode.h
parent3dbb1a4b894c0744a331d4319d8d1704dc4ad943 (diff)
downloadlua-50fd8d03c33bbe52ac5b34c4eb748197b349cedd.tar.gz
lua-50fd8d03c33bbe52ac5b34c4eb748197b349cedd.tar.bz2
lua-50fd8d03c33bbe52ac5b34c4eb748197b349cedd.zip
Function 'luaK_semerror' made vararg
All calls to 'luaK_semerror' were using 'luaO_pushfstring' to create the error messages.
Diffstat (limited to 'lcode.h')
-rw-r--r--lcode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lcode.h b/lcode.h
index 414ebe39..94fc2417 100644
--- a/lcode.h
+++ b/lcode.h
@@ -97,7 +97,7 @@ LUAI_FUNC void luaK_settablesize (FuncState *fs, int pc,
97 int ra, int asize, int hsize); 97 int ra, int asize, int hsize);
98LUAI_FUNC void luaK_setlist (FuncState *fs, int base, int nelems, int tostore); 98LUAI_FUNC void luaK_setlist (FuncState *fs, int base, int nelems, int tostore);
99LUAI_FUNC void luaK_finish (FuncState *fs); 99LUAI_FUNC void luaK_finish (FuncState *fs);
100LUAI_FUNC l_noret luaK_semerror (LexState *ls, const char *msg); 100LUAI_FUNC l_noret luaK_semerror (LexState *ls, const char *fmt, ...);
101 101
102 102
103#endif 103#endif