[前][次][番号順一覧][スレッド一覧]

ruby-changes:39222

From: normal <ko1@a...>
Date: Mon, 20 Jul 2015 12:27:59 +0900 (JST)
Subject: [ruby-changes:39222] normal:r51303 (trunk): parse.y (ripper_initialize): fixup r51302

normal	2015-07-20 12:27:50 +0900 (Mon, 20 Jul 2015)

  New Revision: 51303

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51303

  Log:
    parse.y (ripper_initialize): fixup r51302
    
    Missed eofp bitfield change in ripper_initialize in r51302 :x
    ("parse.y (struct parser_params): pack to 4 cache lines on x86-64")

  Modified files:
    trunk/parse.y
Index: parse.y
===================================================================
--- parse.y	(revision 51302)
+++ parse.y	(revision 51303)
@@ -11167,7 +11167,7 @@ ripper_initialize(int argc, VALUE *argv, https://github.com/ruby/ruby/blob/trunk/parse.y#L11167
         parser->parser_lex_gets = lex_get_str;
     }
     parser->parser_lex_input = src;
-    parser->eofp = Qfalse;
+    parser->eofp = 0;
     if (NIL_P(fname)) {
         fname = STR_NEW2("(ripper)");
 	OBJ_FREEZE(fname);

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]