summaryrefslogtreecommitdiff
path: root/src/lj_errmsg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_errmsg.h')
-rw-r--r--src/lj_errmsg.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lj_errmsg.h b/src/lj_errmsg.h
index 66062747..ae784bc9 100644
--- a/src/lj_errmsg.h
+++ b/src/lj_errmsg.h
@@ -148,11 +148,13 @@ ERRDEF(FFI_REDEF, "attempt to redefine " LUA_QS)
148ERRDEF(FFI_INITOV, "too many initializers for " LUA_QS) 148ERRDEF(FFI_INITOV, "too many initializers for " LUA_QS)
149ERRDEF(FFI_BADCONV, "cannot convert " LUA_QS " to " LUA_QS) 149ERRDEF(FFI_BADCONV, "cannot convert " LUA_QS " to " LUA_QS)
150ERRDEF(FFI_BADARITH, "attempt to perform arithmetic on " LUA_QS " and " LUA_QS) 150ERRDEF(FFI_BADARITH, "attempt to perform arithmetic on " LUA_QS " and " LUA_QS)
151ERRDEF(FFI_BADCALL, LUA_QS " is not callable")
152ERRDEF(FFI_NUMARG, "wrong number of arguments for function call")
151ERRDEF(FFI_BADMEMBER, LUA_QS " has no member named " LUA_QS) 153ERRDEF(FFI_BADMEMBER, LUA_QS " has no member named " LUA_QS)
152ERRDEF(FFI_BADIDX, LUA_QS " cannot be indexed") 154ERRDEF(FFI_BADIDX, LUA_QS " cannot be indexed")
153ERRDEF(FFI_WRCONST, "attempt to write to constant location") 155ERRDEF(FFI_WRCONST, "attempt to write to constant location")
154ERRDEF(FFI_NYIPACKBIT, "NYI: packed bit fields") 156ERRDEF(FFI_NYIPACKBIT, "NYI: packed bit fields")
155ERRDEF(FFI_NYICALL, "NYI: C function calls") 157ERRDEF(FFI_NYICALL, "NYI: cannot call this C function (yet)")
156#endif 158#endif
157 159
158#undef ERRDEF 160#undef ERRDEF