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

ruby-changes:12636

From: shyouhei <ko1@a...>
Date: Sun, 2 Aug 2009 06:12:32 +0900 (JST)
Subject: [ruby-changes:12636] Ruby:r24349 (ruby_1_8): * node.h (rb_thread_status): ISO C89 do not allow a comma at the end of enum.

shyouhei	2009-08-02 06:11:40 +0900 (Sun, 02 Aug 2009)

  New Revision: 24349

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

  Log:
    * node.h (rb_thread_status): ISO C89 do not allow a comma at the end of enum.
    * parse.y (string_type): ditto.

  Modified files:
    branches/ruby_1_8/ChangeLog
    branches/ruby_1_8/node.h
    branches/ruby_1_8/parse.y

Index: ruby_1_8/parse.y
===================================================================
--- ruby_1_8/parse.y	(revision 24348)
+++ ruby_1_8/parse.y	(revision 24349)
@@ -3115,7 +3115,7 @@
     str_sword  = (STR_FUNC_QWORDS),
     str_dword  = (STR_FUNC_QWORDS|STR_FUNC_EXPAND),
     str_ssym   = (STR_FUNC_SYMBOL),
-    str_dsym   = (STR_FUNC_SYMBOL|STR_FUNC_EXPAND),
+    str_dsym   = (STR_FUNC_SYMBOL|STR_FUNC_EXPAND)
 };
 
 static void
Index: ruby_1_8/ChangeLog
===================================================================
--- ruby_1_8/ChangeLog	(revision 24348)
+++ ruby_1_8/ChangeLog	(revision 24349)
@@ -1,3 +1,9 @@
+Sun Aug  2 06:08:17 2009  URABE Shyouhei  <shyouhei@r...>
+
+	* node.h (rb_thread_status): ISO C89 do not allow a comma at the end of enum.
+
+	* parse.y (string_type): ditto.
+
 Sat Aug  1 07:51:32 2009  URABE Shyouhei  <shyouhei@r...>
 
 	* lex.c: update.
Index: ruby_1_8/node.h
===================================================================
--- ruby_1_8/node.h	(revision 24348)
+++ ruby_1_8/node.h	(revision 24349)
@@ -404,7 +404,7 @@
     THREAD_TO_KILL,
     THREAD_RUNNABLE,
     THREAD_STOPPED,
-    THREAD_KILLED,
+    THREAD_KILLED
 };
 
 typedef struct rb_thread *rb_thread_t;

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

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