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

ruby-changes:36590

From: nobu <ko1@a...>
Date: Tue, 2 Dec 2014 04:54:03 +0900 (JST)
Subject: [ruby-changes:36590] nobu:r48671 (trunk): parse.y: remove garbage

nobu	2014-12-02 04:53:54 +0900 (Tue, 02 Dec 2014)

  New Revision: 48671

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

  Log:
    parse.y: remove garbage
    
    * parse.y (parser_magic_comment): remove a garbage line inserted
      at previous ripper fix, r48668.

  Modified files:
    trunk/parse.y
Index: parse.y
===================================================================
--- parse.y	(revision 48670)
+++ parse.y	(revision 48671)
@@ -7009,7 +7009,6 @@ parser_magic_comment(struct parser_param https://github.com/ruby/ruby/blob/trunk/parse.y#L7009
 		if (p->length) {
 		    n = (*p->length)(parser, vbeg, n);
 		}
-		if (p->func != magic_comment_encoding) break;
 		str_copy(val, vbeg, n);
 		(*p->func)(parser, s, RSTRING_PTR(val));
 		break;

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

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