summaryrefslogtreecommitdiff
path: root/src/ldebug.js
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-12-13 14:38:52 +1100
committerdaurnimator <quae@daurnimator.com>2017-12-13 15:04:08 +1100
commitd8e002a33c6b212891d09a2221edd0f516d13d9a (patch)
tree23b38ad181e2285fd7d467a3d4558ff175946410 /src/ldebug.js
parenteb71fa819bf294cb145360ce2d4697200b30bd11 (diff)
downloadfengari-d8e002a33c6b212891d09a2221edd0f516d13d9a.tar.gz
fengari-d8e002a33c6b212891d09a2221edd0f516d13d9a.tar.bz2
fengari-d8e002a33c6b212891d09a2221edd0f516d13d9a.zip
src/lapi.js: Remove emptystring: rely on internal string cache instead
Diffstat (limited to 'src/ldebug.js')
-rw-r--r--src/ldebug.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ldebug.js b/src/ldebug.js
index 58bccc9..c93df91 100644
--- a/src/ldebug.js
+++ b/src/ldebug.js
@@ -247,7 +247,7 @@ const auxgetinfo = function(L, what, ar, f, ci) {
case 'n': {
let r = getfuncname(L, ci);
if (r === null) {
- ar.namewhat = defs.to_luastring("");
+ ar.namewhat = defs.to_luastring("", true);
ar.name = null;
} else {
ar.namewhat = r.funcname;