diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2025-04-17 14:58:55 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2025-04-17 14:58:55 -0300 |
commit | 50fd8d03c33bbe52ac5b34c4eb748197b349cedd (patch) | |
tree | ef63c627346c7609fea578cd9d8399ae500c00b2 /lcode.h | |
parent | 3dbb1a4b894c0744a331d4319d8d1704dc4ad943 (diff) | |
download | lua-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |
98 | LUAI_FUNC void luaK_setlist (FuncState *fs, int base, int nelems, int tostore); | 98 | LUAI_FUNC void luaK_setlist (FuncState *fs, int base, int nelems, int tostore); |
99 | LUAI_FUNC void luaK_finish (FuncState *fs); | 99 | LUAI_FUNC void luaK_finish (FuncState *fs); |
100 | LUAI_FUNC l_noret luaK_semerror (LexState *ls, const char *msg); | 100 | LUAI_FUNC l_noret luaK_semerror (LexState *ls, const char *fmt, ...); |
101 | 101 | ||
102 | 102 | ||
103 | #endif | 103 | #endif |