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

ruby-changes:45593

From: yui-knk <ko1@a...>
Date: Mon, 20 Feb 2017 23:41:01 +0900 (JST)
Subject: [ruby-changes:45593] yui-knk:r57666 (trunk): compile.c: Fix a typo

yui-knk	2017-02-20 23:40:56 +0900 (Mon, 20 Feb 2017)

  New Revision: 57666

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

  Log:
    compile.c: Fix a typo
    
    * compile.c (compile_branch_condition): NODE_LIT is
      always true.

  Modified files:
    trunk/compile.c
Index: compile.c
===================================================================
--- compile.c	(revision 57665)
+++ compile.c	(revision 57666)
@@ -2876,7 +2876,7 @@ compile_branch_condition(rb_iseq_t *iseq https://github.com/ruby/ruby/blob/trunk/compile.c#L2876
 				     else_label);
 	    break;
 	}
-      case NODE_LIT:		/* NODE_LIT is always not true */
+      case NODE_LIT:		/* NODE_LIT is always true */
       case NODE_TRUE:
       case NODE_STR:
       case NODE_DSTR:

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

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