aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-05-04 14:47:38 +1000
committerdaurnimator <quae@daurnimator.com>2017-05-04 14:47:38 +1000
commit6c14a429890ee4980485b6975cc08a03d91acfe0 (patch)
tree5995fb6dca2a13aa4f5d310228a48cbdf5a0ef06 /src
parente78c26fbbd69e09f5271371eccc99f967de7540a (diff)
downloadfengari-6c14a429890ee4980485b6975cc08a03d91acfe0.tar.gz
fengari-6c14a429890ee4980485b6975cc08a03d91acfe0.tar.bz2
fengari-6c14a429890ee4980485b6975cc08a03d91acfe0.zip
src/ldebug.js: Fix indentation
Diffstat (limited to 'src')
-rw-r--r--src/ldebug.js22
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) {