summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mruby_core.rake2
-rw-r--r--src/numeric.c2
-rw-r--r--src/print.c2
-rw-r--r--src/proc.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/mruby_core.rake b/src/mruby_core.rake
index 87759aa61..04be0736c 100644
--- a/src/mruby_core.rake
+++ b/src/mruby_core.rake
@@ -2,7 +2,7 @@ MRuby.each_target do
current_dir = File.dirname(__FILE__).relative_path_from(Dir.pwd)
relative_from_root = File.dirname(__FILE__).relative_path_from(MRUBY_ROOT)
current_build_dir = "#{build_dir}/#{relative_from_root}"
-
+
lex_def = "#{current_dir}/lex.def"
objs = Dir.glob("#{current_dir}/*.c").map { |f|
next nil if cxx_abi_enabled? and f =~ /(codegen|error|vm).c$/
diff --git a/src/numeric.c b/src/numeric.c
index ef7b5fc82..46b3cdf37 100644
--- a/src/numeric.c
+++ b/src/numeric.c
@@ -150,7 +150,7 @@ mrb_flo_to_str(mrb_state *mrb, mrb_float flo)
else {
exp = 0;
}
-
+
/* preserve significands */
if (exp < 0) {
int i, beg = -1, end = 0;
diff --git a/src/print.c b/src/print.c
index 6472a4675..f4ed85601 100644
--- a/src/print.c
+++ b/src/print.c
@@ -38,7 +38,7 @@ mrb_print_error(mrb_state *mrb)
{
#ifdef ENABLE_STDIO
mrb_value s;
-
+
mrb_print_backtrace(mrb);
s = mrb_funcall(mrb, mrb_obj_value(mrb->exc), "inspect", 0);
if (mrb_string_p(s)) {
diff --git a/src/proc.c b/src/proc.c
index b29bd5977..fa4c28fc8 100644
--- a/src/proc.c
+++ b/src/proc.c
@@ -43,7 +43,7 @@ closure_setup(mrb_state *mrb, struct RProc *p, int nlocals)
e = (struct REnv*)mrb_obj_alloc(mrb, MRB_TT_ENV, (struct RClass*)mrb->c->ci->proc->env);
MRB_ENV_STACK_LEN(e)= (unsigned int)nlocals;
e->mid = mrb->c->ci->mid;
- e->cioff = mrb->c->ci - mrb->c->cibase;
+ e->cioff = mrb->c->ci - mrb->c->cibase;
e->stack = mrb->c->stack;
mrb->c->ci->env = e;
}