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

ruby-changes:26689

From: nobu <ko1@a...>
Date: Tue, 8 Jan 2013 14:57:52 +0900 (JST)
Subject: [ruby-changes:26689] nobu:r38740 (trunk): insns.def: adjust indent

nobu	2013-01-08 14:57:42 +0900 (Tue, 08 Jan 2013)

  New Revision: 38740

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

  Log:
    insns.def: adjust indent
    
    * insns.def (getlocal, defined): adjust indent.

  Modified files:
    trunk/insns.def

Index: insns.def
===================================================================
--- insns.def	(revision 38739)
+++ insns.def	(revision 38740)
@@ -61,7 +61,7 @@ getlocal https://github.com/ruby/ruby/blob/trunk/insns.def#L61
     VALUE *ep = GET_EP();
 
     for (i = 0; i < lev; i++) {
-	    ep = GET_PREV_EP(ep);
+	ep = GET_PREV_EP(ep);
     }
     val = *(ep - idx);
 }
@@ -714,15 +714,14 @@ defined https://github.com/ruby/ruby/blob/trunk/insns.def#L714
 	    expr_type = DEFINED_GVAR;
 	}
 	break;
-      case DEFINED_CVAR:
-	{
+      case DEFINED_CVAR: {
 	NODE *cref = rb_vm_get_cref(GET_ISEQ(), GET_EP());
 	klass = vm_get_cvar_base(cref, GET_CFP());
 	if (rb_cvar_defined(klass, SYM2ID(obj))) {
 	    expr_type = DEFINED_CVAR;
 	}
 	break;
-	}
+      }
       case DEFINED_CONST:
 	klass = v;
 	if (vm_get_ev_const(th, GET_ISEQ(), klass, SYM2ID(obj), 1)) {

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

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