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

ruby-changes:43733

From: nobu <ko1@a...>
Date: Wed, 3 Aug 2016 11:30:43 +0900 (JST)
Subject: [ruby-changes:43733] nobu:r55806 (trunk): vm_insnhelper.c: extra semicolon

nobu	2016-08-03 11:30:37 +0900 (Wed, 03 Aug 2016)

  New Revision: 55806

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

  Log:
    vm_insnhelper.c: extra semicolon
    
    * vm_insnhelper.c (CHECK): remove extra semicolon and fold too
      long line.

  Modified files:
    trunk/vm_insnhelper.c
Index: vm_insnhelper.c
===================================================================
--- vm_insnhelper.c	(revision 55805)
+++ vm_insnhelper.c	(revision 55806)
@@ -136,7 +136,11 @@ vm_check_frame(VALUE type, https://github.com/ruby/ruby/blob/trunk/vm_insnhelper.c#L136
     VALUE given_magic = type & VM_FRAME_MAGIC_MASK;
     VM_ASSERT(FIXNUM_P(type));
 
-#define CHECK(magic, req_block, req_me, req_cref, is_cframe) case magic: vm_check_frame_detail(type, req_block, req_me, req_cref, specval, cref_or_me, is_cframe, iseq); break;
+#define CHECK(magic, req_block, req_me, req_cref, is_cframe) \
+    case magic: \
+      vm_check_frame_detail(type, req_block, req_me, req_cref, \
+			    specval, cref_or_me, is_cframe, iseq); \
+      break
     switch (given_magic) {
 	/*                           BLK    ME     CREF   CFRAME */
 	CHECK(VM_FRAME_MAGIC_METHOD, TRUE,  TRUE,  FALSE, FALSE);

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

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