diff options
Diffstat (limited to 'src/lj_errmsg.h')
-rw-r--r-- | src/lj_errmsg.h | 4 |
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) | |||
148 | ERRDEF(FFI_INITOV, "too many initializers for " LUA_QS) | 148 | ERRDEF(FFI_INITOV, "too many initializers for " LUA_QS) |
149 | ERRDEF(FFI_BADCONV, "cannot convert " LUA_QS " to " LUA_QS) | 149 | ERRDEF(FFI_BADCONV, "cannot convert " LUA_QS " to " LUA_QS) |
150 | ERRDEF(FFI_BADARITH, "attempt to perform arithmetic on " LUA_QS " and " LUA_QS) | 150 | ERRDEF(FFI_BADARITH, "attempt to perform arithmetic on " LUA_QS " and " LUA_QS) |
151 | ERRDEF(FFI_BADCALL, LUA_QS " is not callable") | ||
152 | ERRDEF(FFI_NUMARG, "wrong number of arguments for function call") | ||
151 | ERRDEF(FFI_BADMEMBER, LUA_QS " has no member named " LUA_QS) | 153 | ERRDEF(FFI_BADMEMBER, LUA_QS " has no member named " LUA_QS) |
152 | ERRDEF(FFI_BADIDX, LUA_QS " cannot be indexed") | 154 | ERRDEF(FFI_BADIDX, LUA_QS " cannot be indexed") |
153 | ERRDEF(FFI_WRCONST, "attempt to write to constant location") | 155 | ERRDEF(FFI_WRCONST, "attempt to write to constant location") |
154 | ERRDEF(FFI_NYIPACKBIT, "NYI: packed bit fields") | 156 | ERRDEF(FFI_NYIPACKBIT, "NYI: packed bit fields") |
155 | ERRDEF(FFI_NYICALL, "NYI: C function calls") | 157 | ERRDEF(FFI_NYICALL, "NYI: cannot call this C function (yet)") |
156 | #endif | 158 | #endif |
157 | 159 | ||
158 | #undef ERRDEF | 160 | #undef ERRDEF |