diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-11-25 09:48:31 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-11-25 09:48:31 +0900 |
| commit | ed0d9f0066eb541ae4ceddf47bdd85112feccddf (patch) | |
| tree | 9ab05ad7d432f041826fad821d5c393c5546410f | |
| parent | 91a4eb57591222fc3c2be043e0a34a7c39d479b5 (diff) | |
| download | mruby-ed0d9f0066eb541ae4ceddf47bdd85112feccddf.tar.gz mruby-ed0d9f0066eb541ae4ceddf47bdd85112feccddf.zip | |
remove MRB_PARSER_BUF_SIZE configuration; close #1596
| -rw-r--r-- | include/mrbconf.h | 3 | ||||
| -rw-r--r-- | include/mruby/compile.h | 4 |
2 files changed, 1 insertions, 6 deletions
diff --git a/include/mrbconf.h b/include/mrbconf.h index 5c745f479..2172ccc1d 100644 --- a/include/mrbconf.h +++ b/include/mrbconf.h @@ -56,9 +56,6 @@ /* initial minimum size for string buffer */ //#define MRB_STR_BUF_MIN_SIZE 128 -/* array size for parser buffer */ -//#define MRB_PARSER_BUF_SIZE 1024 - /* arena size */ //#define MRB_GC_ARENA_SIZE 100 diff --git a/include/mruby/compile.h b/include/mruby/compile.h index ec5a6935f..c416df082 100644 --- a/include/mruby/compile.h +++ b/include/mruby/compile.h @@ -96,9 +96,7 @@ struct mrb_parser_heredoc_info { mrb_ast_node *doc; }; -#ifndef MRB_PARSER_BUF_SIZE -# define MRB_PARSER_BUF_SIZE 1024 -#endif +#define MRB_PARSER_BUF_SIZE 1024 /* parser structure */ struct mrb_parser_state { |
