diff options
author | daurnimator <quae@daurnimator.com> | 2018-01-06 23:17:24 +1100 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2018-01-06 23:17:24 +1100 |
commit | 013d6acd9a22a42e4e59d0f7f1394448e98746c3 (patch) | |
tree | 78cfec267f74f972be862b061a9f03099cf600b7 /src/lstring.js | |
parent | 85d59de1f56a8a1a7daa4ed6d1c68136924ff73f (diff) | |
download | fengari-013d6acd9a22a42e4e59d0f7f1394448e98746c3.tar.gz fengari-013d6acd9a22a42e4e59d0f7f1394448e98746c3.tar.bz2 fengari-013d6acd9a22a42e4e59d0f7f1394448e98746c3.zip |
src/defs: Rename luastring_cmp to luastring_eq
Diffstat (limited to 'src/lstring.js')
-rw-r--r-- | src/lstring.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lstring.js b/src/lstring.js index 4350165..c145b53 100644 --- a/src/lstring.js +++ b/src/lstring.js @@ -24,7 +24,7 @@ class TString { const luaS_eqlngstr = function(a, b) { assert(a instanceof TString); assert(b instanceof TString); - return a == b || defs.luastring_cmp(a.realstring, b.realstring); + return a == b || defs.luastring_eq(a.realstring, b.realstring); }; /* converts strings (arrays) to a consistent map key |