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

ruby-changes:50101

From: shyouhei <ko1@a...>
Date: Mon, 5 Feb 2018 13:03:00 +0900 (JST)
Subject: [ruby-changes:50101] shyouhei:r62219 (trunk): comma at the end of enum is a C99ism

shyouhei	2018-02-05 13:02:55 +0900 (Mon, 05 Feb 2018)

  New Revision: 62219

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

  Log:
    comma at the end of enum is a C99ism

  Modified files:
    trunk/mjit.h
Index: mjit.h
===================================================================
--- mjit.h	(revision 62218)
+++ mjit.h	(revision 62219)
@@ -22,7 +22,7 @@ enum rb_mjit_iseq_func { https://github.com/ruby/ruby/blob/trunk/mjit.h#L22
     /* ISEQ included not compilable insn or some assertion failed  */
     NOT_COMPILABLE_JIT_ISEQ_FUNC = 2,
     /* End mark */
-    LAST_JIT_ISEQ_FUNC = 3,
+    LAST_JIT_ISEQ_FUNC = 3
 };
 
 /* C compiler used to generate native code. */
@@ -32,7 +32,7 @@ enum rb_mjit_cc { https://github.com/ruby/ruby/blob/trunk/mjit.h#L32
     /* GNU Compiler Collection */
     MJIT_CC_GCC = 1,
     /* LLVM/Clang */
-    MJIT_CC_CLANG = 2,
+    MJIT_CC_CLANG = 2
 };
 
 /* MJIT options which can be defined on the MRI command line.  */

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

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