diff options
author | daurnimator <quae@daurnimator.com> | 2017-05-04 14:47:38 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-05-04 14:47:38 +1000 |
commit | 6c14a429890ee4980485b6975cc08a03d91acfe0 (patch) | |
tree | 5995fb6dca2a13aa4f5d310228a48cbdf5a0ef06 /src/ldebug.js | |
parent | e78c26fbbd69e09f5271371eccc99f967de7540a (diff) | |
download | fengari-6c14a429890ee4980485b6975cc08a03d91acfe0.tar.gz fengari-6c14a429890ee4980485b6975cc08a03d91acfe0.tar.bz2 fengari-6c14a429890ee4980485b6975cc08a03d91acfe0.zip |
src/ldebug.js: Fix indentation
Diffstat (limited to 'src/ldebug.js')
-rw-r--r-- | src/ldebug.js | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/ldebug.js b/src/ldebug.js index d565829..25af97b 100644 --- a/src/ldebug.js +++ b/src/ldebug.js @@ -144,17 +144,17 @@ const lua_getlocal = function(L, ar, n) { }; const lua_setlocal = function(L, ar, n) { - swapextra(L); - let local = findlocal(L, ar.i_ci, n); - let name = local.name; - let pos = local.pos; - if (name) { - L.stack[pos].type = L.stack[L.top - 1].type; - L.stack[pos].value = L.stack[L.top - 1].value; - L.top--; /* pop value */ - } - swapextra(L); - return name; + swapextra(L); + let local = findlocal(L, ar.i_ci, n); + let name = local.name; + let pos = local.pos; + if (name) { + L.stack[pos].type = L.stack[L.top - 1].type; + L.stack[pos].value = L.stack[L.top - 1].value; + L.top--; /* pop value */ + } + swapextra(L); + return name; }; const funcinfo = function(ar, cl) { |