summaryrefslogtreecommitdiff
path: root/src/defs.js
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2018-01-29 14:59:25 +1100
committerdaurnimator <quae@daurnimator.com>2018-01-29 22:04:32 +1100
commit14f5bb167951ad893760cdb526364e9edf1213ef (patch)
treecabfa9ce9f75479e036428b22a0e78ef9d48598c /src/defs.js
parent9aaddb7c9814d97502adb0e115c613598923b8d5 (diff)
downloadfengari-14f5bb167951ad893760cdb526364e9edf1213ef.tar.gz
fengari-14f5bb167951ad893760cdb526364e9edf1213ef.tar.bz2
fengari-14f5bb167951ad893760cdb526364e9edf1213ef.zip
src/: Export LUA_SIGNATURE as lua string instead of js string
Diffstat (limited to 'src/defs.js')
-rw-r--r--src/defs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/defs.js b/src/defs.js
index 13d2d1d..9eeea00 100644
--- a/src/defs.js
+++ b/src/defs.js
@@ -194,7 +194,7 @@ const from_userstring = function(str) {
};
/* mark for precompiled code ('<esc>Lua') */
-const LUA_SIGNATURE = "\x1bLua";
+const LUA_SIGNATURE = to_luastring("\x1bLua");
const LUA_VERSION_MAJOR = "5";
const LUA_VERSION_MINOR = "3";