summaryrefslogtreecommitdiffhomepage
path: root/src/vm.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-04-20 23:11:43 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2013-04-20 23:11:43 +0900
commitc79172dfd5a7600300ac215cce1ccc766ec9aa98 (patch)
treeed9cb374cd73a26b51090fc1b783162f9b912318 /src/vm.c
parent2acf72455406540f77b7c4809d8bf2bd2878a907 (diff)
downloadmruby-c79172dfd5a7600300ac215cce1ccc766ec9aa98.tar.gz
mruby-c79172dfd5a7600300ac215cce1ccc766ec9aa98.zip
put spaces after if/while
Diffstat (limited to 'src/vm.c')
-rw-r--r--src/vm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vm.c b/src/vm.c
index e3c53d4a2..49f054f92 100644
--- a/src/vm.c
+++ b/src/vm.c
@@ -63,7 +63,7 @@ stack_clear(mrb_value *from, size_t count)
{
const mrb_value mrb_value_zero = { { 0 } };
- while(count-- > 0) {
+ while (count-- > 0) {
*from++ = mrb_value_zero;
}
}
@@ -1659,7 +1659,7 @@ mrb_run(mrb_state *mrb, struct RProc *proc, mrb_value self)
default:\
goto L_SEND;\
}\
-} while (0)
+} while(0)
CASE(OP_EQ) {
/* A B C R(A) := R(A)<R(A+1) (Syms[B]=:==,C=1)*/