diff options
author | daurnimator <quae@daurnimator.com> | 2017-05-21 23:48:22 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-05-22 00:50:35 +1000 |
commit | 7ac843a05895dc9722cf8e515049fbbc82b01a05 (patch) | |
tree | aa89d98846b8f5e308d00348882c4d9484348769 /src/ldebug.js | |
parent | e1257c5167c5d662c248c87c86b797f179e6e86e (diff) | |
download | fengari-7ac843a05895dc9722cf8e515049fbbc82b01a05.tar.gz fengari-7ac843a05895dc9722cf8e515049fbbc82b01a05.tar.bz2 fengari-7ac843a05895dc9722cf8e515049fbbc82b01a05.zip |
src/ldebug.js: Fix returning TString instead of raw string
Diffstat (limited to 'src/ldebug.js')
-rw-r--r-- | src/ldebug.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ldebug.js b/src/ldebug.js index 4be14dd..b427e76 100644 --- a/src/ldebug.js +++ b/src/ldebug.js @@ -411,7 +411,7 @@ const getobjname = function(p, lastpc, reg) { case 'OP_LOADKX': { let b = op === 'OP_LOADK' ? i.Bx : p.code[pc + 1].Ax; if (p.k[b].ttisstring()) { - r.name = p.k[b].tsvalue(); + r.name = p.k[b].svalue(); r.funcname = defs.to_luastring("constant", true); return r; } |