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