summaryrefslogtreecommitdiff
path: root/src/llex.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/llex.js')
-rw-r--r--src/llex.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/llex.js b/src/llex.js
index f2fbd02..e3349ce 100644
--- a/src/llex.js
+++ b/src/llex.js
@@ -210,7 +210,7 @@ const luaX_newstring = function(ls, str) {
/* HACK: Workaround lack of ltable 'keyfromval' */
let tpair = ls.h.strong.get(lstring.luaS_hash(ts));
assert(tpair.value == o);
- ts = tpair.key.value; /* re-use value previously stored */
+ ts = tpair.key.tsvalue(); /* re-use value previously stored */
}
return ts;
};