summaryrefslogtreecommitdiff
path: root/src/lundump.js
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2018-01-06 23:17:24 +1100
committerdaurnimator <quae@daurnimator.com>2018-01-06 23:17:24 +1100
commit013d6acd9a22a42e4e59d0f7f1394448e98746c3 (patch)
tree78cfec267f74f972be862b061a9f03099cf600b7 /src/lundump.js
parent85d59de1f56a8a1a7daa4ed6d1c68136924ff73f (diff)
downloadfengari-013d6acd9a22a42e4e59d0f7f1394448e98746c3.tar.gz
fengari-013d6acd9a22a42e4e59d0f7f1394448e98746c3.tar.bz2
fengari-013d6acd9a22a42e4e59d0f7f1394448e98746c3.zip
src/defs: Rename luastring_cmp to luastring_eq
Diffstat (limited to 'src/lundump.js')
-rw-r--r--src/lundump.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lundump.js b/src/lundump.js
index e49c376..ee1e738 100644
--- a/src/lundump.js
+++ b/src/lundump.js
@@ -214,7 +214,7 @@ class BytecodeParser {
checkliteral(s, msg) {
let buff = this.read(s.length);
- if (!defs.luastring_cmp(buff, s))
+ if (!defs.luastring_eq(buff, s))
this.error(msg);
}