diff options
author | Mike Pall <mike> | 2021-06-07 12:03:22 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2021-06-07 12:03:22 +0200 |
commit | ac02a120ef249aac37b4847705a3099bd4b92967 (patch) | |
tree | ce8dde84c0cf6017752dd605088dc80f8626ea1a /src/lj_errmsg.h | |
parent | 4216bdfb2a18b213d226da26361417c537c36743 (diff) | |
download | luajit-ac02a120ef249aac37b4847705a3099bd4b92967.tar.gz luajit-ac02a120ef249aac37b4847705a3099bd4b92967.tar.bz2 luajit-ac02a120ef249aac37b4847705a3099bd4b92967.zip |
String buffers, part 2e: add serialization string dictionary.
Sponsored by fmad.io.
Diffstat (limited to 'src/lj_errmsg.h')
-rw-r--r-- | src/lj_errmsg.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lj_errmsg.h b/src/lj_errmsg.h index af4a03dd..56be4bb9 100644 --- a/src/lj_errmsg.h +++ b/src/lj_errmsg.h | |||
@@ -182,8 +182,10 @@ ERRDEF(FFI_NYICALL, "NYI: cannot call this C function (yet)") | |||
182 | 182 | ||
183 | #if LJ_HASBUFFER | 183 | #if LJ_HASBUFFER |
184 | /* String buffer errors. */ | 184 | /* String buffer errors. */ |
185 | ERRDEF(BUFFER_BADOPT, "bad options table") | ||
185 | ERRDEF(BUFFER_BADENC, "cannot serialize " LUA_QS) | 186 | ERRDEF(BUFFER_BADENC, "cannot serialize " LUA_QS) |
186 | ERRDEF(BUFFER_BADDEC, "cannot deserialize tag 0x%02x") | 187 | ERRDEF(BUFFER_BADDEC, "cannot deserialize tag 0x%02x") |
188 | ERRDEF(BUFFER_BADDICTX, "cannot deserialize dictionary index %d") | ||
187 | ERRDEF(BUFFER_DEPTH, "too deep to serialize") | 189 | ERRDEF(BUFFER_DEPTH, "too deep to serialize") |
188 | ERRDEF(BUFFER_DUPKEY, "duplicate table key") | 190 | ERRDEF(BUFFER_DUPKEY, "duplicate table key") |
189 | ERRDEF(BUFFER_EOB, "unexpected end of buffer") | 191 | ERRDEF(BUFFER_EOB, "unexpected end of buffer") |