summaryrefslogtreecommitdiff
path: root/src/lauxlib.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/lauxlib.js')
-rw-r--r--src/lauxlib.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lauxlib.js b/src/lauxlib.js
index 7b5f958..055abcd 100644
--- a/src/lauxlib.js
+++ b/src/lauxlib.js
@@ -3,7 +3,6 @@
const assert = require('assert');
-const lstate = require('./lstate.js');
const lapi = require('./lapi.js');
const lua = require('./lua.js');
const ldebug = require('./ldebug.js');
@@ -202,7 +201,7 @@ const tag_error = function(L, arg, tag) {
};
const luaL_newstate = function() {
- let L = lstate.lua_newstate();
+ let L = lua.lua_newstate();
if (L) lua.lua_atpanic(L, panic);
return L;
};