diff options
author | daurnimator <quae@daurnimator.com> | 2017-05-12 14:52:14 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-05-15 18:56:25 +1000 |
commit | 4a0aa6eecf10432453c22031c247cf24819f1040 (patch) | |
tree | 542bf773168d6af2069a91125447801a5576d2c6 /src/lstate.js | |
parent | 424a3604dd90a40773e3434450bb5cb685962926 (diff) | |
download | fengari-4a0aa6eecf10432453c22031c247cf24819f1040.tar.gz fengari-4a0aa6eecf10432453c22031c247cf24819f1040.tar.bz2 fengari-4a0aa6eecf10432453c22031c247cf24819f1040.zip |
Add facility for a user provided (state-global) native error handler
Diffstat (limited to 'src/lstate.js')
-rw-r--r-- | src/lstate.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lstate.js b/src/lstate.js index 7d7ff80..5a65c12 100644 --- a/src/lstate.js +++ b/src/lstate.js @@ -66,6 +66,7 @@ class global_State { this.mainthread = L; this.l_registry = new lobject.TValue(CT.LUA_TNIL, null); this.panic = null; + this.atnativeerror = null; this.version = null; this.tmname = new Array(ltm.TMS.TM_N); this.mt = new Array(LUA_NUMTAGS); |