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 --- NEWS | 3 +++ 1 file changed, 3 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 73f4a65a22..032a095f56 100644 --- a/NEWS +++ b/NEWS @@ -13,6 +13,9 @@ with all sufficient information, see the ChangeLog file. === Language changes +* frozen-string-literal pragma: + * new pragma, frozen-string-literal has been experimentally introduced. + === Core classes updates (outstanding ones only) * ARGF -- cgit v1.2.3