diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-12-19 19:11:51 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-12-19 19:11:51 +0900 |
| commit | a17955259ebc1bf49e6d5361fe08205e526c4ac3 (patch) | |
| tree | d6f8fac17387822518de87dcbdbda942e72fd88c /include | |
| parent | d7812bd3d6b059966f693ac406034e4ceb22f7d5 (diff) | |
| parent | 6b8582c95d64b75837e6778c712d705e07edad17 (diff) | |
| download | mruby-a17955259ebc1bf49e6d5361fe08205e526c4ac3.tar.gz mruby-a17955259ebc1bf49e6d5361fe08205e526c4ac3.zip | |
Merge pull request #5602 from dearblue/no-ext-ops
Add `bin/mrbc --no-ext-ops` switch
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby/compile.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mruby/compile.h b/include/mruby/compile.h index aa1739ef1..5c52a13a7 100644 --- a/include/mruby/compile.h +++ b/include/mruby/compile.h @@ -31,6 +31,7 @@ typedef struct mrbc_context { mrb_bool no_exec:1; mrb_bool keep_lv:1; mrb_bool no_optimize:1; + mrb_bool no_ext_ops:1; const struct RProc *upper; size_t parser_nerr; @@ -155,6 +156,7 @@ struct mrb_parser_state { mrb_bool no_optimize:1; mrb_bool capture_errors:1; + mrb_bool no_ext_ops:1; const struct RProc *upper; struct mrb_parser_message error_buffer[10]; struct mrb_parser_message warn_buffer[10]; |
