diff options
author | daurnimator <quae@daurnimator.com> | 2017-04-26 23:42:18 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-04-26 23:56:52 +1000 |
commit | 2c6ad8ae871ec8f511f1b983867fccf031bf38b3 (patch) | |
tree | eacefbe085e0e551e4460046bd474395fcc74a32 /src/ldo.js | |
parent | a70eeebe4aa5014e08b67da7ec07be903c3cf6a5 (diff) | |
download | fengari-2c6ad8ae871ec8f511f1b983867fccf031bf38b3.tar.gz fengari-2c6ad8ae871ec8f511f1b983867fccf031bf38b3.tar.bz2 fengari-2c6ad8ae871ec8f511f1b983867fccf031bf38b3.zip |
Move jsstring() from lobject.js to defs.js; export from lua.js
Diffstat (limited to 'src/ldo.js')
-rw-r--r-- | src/ldo.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -555,7 +555,7 @@ class SParser { const checkmode = function(L, mode, x) { if (mode && mode.indexOf(x[0]) === -1) { - lapi.lua_pushstring(L, defs.to_luastring(`attempt to load a ${lobject.jsstring(x)} chunk (mode is '${lobject.jsstring(mode)}')`)); + lapi.lua_pushstring(L, defs.to_luastring(`attempt to load a ${defs.to_jsstring(x)} chunk (mode is '${defs.to_jsstring(mode)}')`)); luaD_throw(L, TS.LUA_ERRSYNTAX); } }; |