diff options
author | Benoit Giannangeli <benoit.giannangeli@boursorama.fr> | 2017-03-21 15:29:53 +0100 |
---|---|---|
committer | Benoit Giannangeli <benoit.giannangeli@boursorama.fr> | 2017-03-23 08:28:07 +0100 |
commit | 9e08fa3a4b9f8848bb4eac3e745079282099a3d8 (patch) | |
tree | 64be88a45075fe93bbd8c03c3244d3a83fad7491 /src/ldebug.js | |
parent | c4b23126f0cb803ec944c5d7877bbf669f582374 (diff) | |
download | fengari-9e08fa3a4b9f8848bb4eac3e745079282099a3d8.tar.gz fengari-9e08fa3a4b9f8848bb4eac3e745079282099a3d8.tar.bz2 fengari-9e08fa3a4b9f8848bb4eac3e745079282099a3d8.zip |
loadfile
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 2858267..529cb0c 100644 --- a/src/ldebug.js +++ b/src/ldebug.js @@ -431,7 +431,7 @@ const varinfo = function(L, o) { kind = getobjname(ci.func.p, ci.pcOff, stkid - ci.u.l.base); } - return kind ? ` (${kind.funcname} '${kind.name}')` : ``; + return kind ? ` (${kind.funcname} '${kind.name.jsstring()}')` : ``; }; const luaG_typeerror = function(L, o, op) { |