summaryrefslogtreecommitdiff
path: root/src/ldebug.js
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-12-15 15:19:45 +1100
committerdaurnimator <quae@daurnimator.com>2017-12-29 01:15:56 +1100
commit036bb181d59364d13207225bac25b419485a3df7 (patch)
tree617cff5548db8a24a83bce5b29d6010025c597e0 /src/ldebug.js
parentab1881cd9f2746ad8e75ba573be34041f95ab5a6 (diff)
downloadfengari-036bb181d59364d13207225bac25b419485a3df7.tar.gz
fengari-036bb181d59364d13207225bac25b419485a3df7.tar.bz2
fengari-036bb181d59364d13207225bac25b419485a3df7.zip
src/: Add defs.from_userstring function to take string from api
Diffstat (limited to 'src/ldebug.js')
-rw-r--r--src/ldebug.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ldebug.js b/src/ldebug.js
index c93df91..1bb7a8a 100644
--- a/src/ldebug.js
+++ b/src/ldebug.js
@@ -266,6 +266,7 @@ const auxgetinfo = function(L, what, ar, f, ci) {
};
const lua_getinfo = function(L, what, ar) {
+ what = defs.from_userstring(what);
let status, cl, ci, func;
swapextra(L);
if (what[0] === '>'.charCodeAt(0)) {