From 859337b17b5e1f9ee9ebeb0ac9e3ed7d73691ca2 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 27 Sep 2015 06:44:02 +0000 Subject: fronzen-string-literal pragma * compile.c (iseq_compile_each): override compile option by option given by pragma. * iseq.c (rb_iseq_make_compile_option): extract a function to overwrite rb_compile_option_t. * parse.y (parser_set_compile_option_flag): introduce pragma to override compile options. * parse.y (magic_comments): new pragma "fronzen-string-literal". [Feature #8976] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- node.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node.h') diff --git a/node.h b/node.h index c639176ef7..30e65ae52b 100644 --- a/node.h +++ b/node.h @@ -452,7 +452,7 @@ typedef struct RNode { #define NEW_POSTEXE(b) NEW_NODE(NODE_POSTEXE,0,b,0) #define NEW_BMETHOD(b) NEW_NODE(NODE_BMETHOD,0,0,b) #define NEW_ATTRASGN(r,m,a) NEW_NODE(NODE_ATTRASGN,r,m,a) -#define NEW_PRELUDE(p,b) NEW_NODE(NODE_PRELUDE,p,b,0) +#define NEW_PRELUDE(p,b,o) NEW_NODE(NODE_PRELUDE,p,b,o) RUBY_SYMBOL_EXPORT_BEGIN -- cgit v1.2.3