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, 4 insertions, 0 deletions
diff --git a/src/lj_errmsg.h b/src/lj_errmsg.h
index 03abd59b..3c79eaa4 100644
--- a/src/lj_errmsg.h
+++ b/src/lj_errmsg.h
@@ -8,6 +8,7 @@
8/* Basic error handling. */ 8/* Basic error handling. */
9ERRDEF(ERRMEM, "not enough memory") 9ERRDEF(ERRMEM, "not enough memory")
10ERRDEF(ERRERR, "error in error handling") 10ERRDEF(ERRERR, "error in error handling")
11ERRDEF(ERRCPP, "C++ exception")
11 12
12/* Allocations. */ 13/* Allocations. */
13ERRDEF(STROV, "string length overflow") 14ERRDEF(STROV, "string length overflow")
@@ -56,6 +57,9 @@ ERRDEF(NOENV, "no calling environment")
56ERRDEF(CYIELD, "attempt to yield across C-call boundary") 57ERRDEF(CYIELD, "attempt to yield across C-call boundary")
57ERRDEF(BADLU, "bad light userdata pointer") 58ERRDEF(BADLU, "bad light userdata pointer")
58ERRDEF(NOGCMM, "bad action while in __gc metamethod") 59ERRDEF(NOGCMM, "bad action while in __gc metamethod")
60#ifdef LUA_USE_WIN
61ERRDEF(BADFPU, "bad FPU precision (use D3DCREATE_FPU_PRESERVE with DirectX)")
62#endif
59 63
60/* Standard library function errors. */ 64/* Standard library function errors. */
61ERRDEF(ASSERT, "assertion failed!") 65ERRDEF(ASSERT, "assertion failed!")