diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2015-09-03 01:39:17 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2015-09-03 01:39:17 +0900 |
| commit | 7b5f8b07285eeb9900ef1a85cb2c764fbbd34461 (patch) | |
| tree | ecc65efc1077ec793787454933e86d6c2bec6f81 | |
| parent | c6aa87c837ed4bde6b293992adfe79fbababbfb3 (diff) | |
| download | mruby-7b5f8b07285eeb9900ef1a85cb2c764fbbd34461.tar.gz mruby-7b5f8b07285eeb9900ef1a85cb2c764fbbd34461.zip | |
remove trailing spaces from bc9c47d5
| -rw-r--r-- | build_config.rb | 3 | ||||
| -rw-r--r-- | include/mruby/dump.h | 4 | ||||
| -rw-r--r-- | src/load.c | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/build_config.rb b/build_config.rb index e1178d6b2..34b92637c 100644 --- a/build_config.rb +++ b/build_config.rb @@ -21,6 +21,7 @@ MRuby::Build.new do |conf| # include the default GEMs conf.gembox 'default' + conf.gem :core => 'mruby-eval' # C compiler settings # conf.cc do |cc| @@ -105,7 +106,7 @@ MRuby::Build.new('host-debug') do |conf| conf.gem :core => "mruby-bin-debugger" # bintest - # conf.enable_bintest + conf.enable_bintest end MRuby::Build.new('test') do |conf| diff --git a/include/mruby/dump.h b/include/mruby/dump.h index 45774d872..4cee3c0ac 100644 --- a/include/mruby/dump.h +++ b/include/mruby/dump.h @@ -17,8 +17,8 @@ extern "C" { #define DUMP_DEBUG_INFO 1 #define DUMP_ENDIAN_BIG 2 #define DUMP_ENDIAN_LIL 4 -#define DUMP_ENDIAN_NAT 6 -#define DUMP_ENDIAN_MASK 6 +#define DUMP_ENDIAN_NAT 6 +#define DUMP_ENDIAN_MASK 6 int mrb_dump_irep(mrb_state *mrb, mrb_irep *irep, uint8_t flags, uint8_t **bin, size_t *bin_size); #ifdef ENABLE_STDIO diff --git a/src/load.c b/src/load.c index a9f1641bf..36fae9aee 100644 --- a/src/load.c +++ b/src/load.c @@ -529,7 +529,7 @@ read_binary_header(const uint8_t *bin, size_t *bin_size, uint16_t *crc, uint8_t else if (memcmp(header->binary_ident, RITE_BINARY_IDENT_LIL, sizeof(header->binary_ident)) == 0) { if (bigendian_p()) *flags |= FLAG_BYTEORDER_LIL; - else + else *flags |= FLAG_BYTEORDER_NATIVE; } else { |
