mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
remove trailing spaces
This commit is contained in:
+1
-1
@@ -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$/
|
||||
|
||||
+1
-1
@@ -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;
|
||||
|
||||
+1
-1
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user