summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--id.h6
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 7d3d85f500..0c6b57f9f6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri Oct 24 19:16:36 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
+
+ * id.h (enum ruby_method_ids): ISO C forbids comma at end of
+ enumerator list
+
Fri Oct 24 18:29:00 2008 Keiju Ishitsuka <keiju@ruby-lang.org>
* lib/mathn.rb: moved into ext/mathn/rational/rational.c and
diff --git a/id.h b/id.h
index 37c73ed0e8..4ccf69d80f 100644
--- a/id.h
+++ b/id.h
@@ -174,10 +174,10 @@ enum ruby_method_ids {
TOKEN2ID(Lambda),
TOKEN2ID(Send),
TOKEN2ID(__send__),
- TOKEN2ID(Initialize),
+ TOKEN2ID(Initialize)
#if SUPPORT_JOKE
- TOKEN2ID(Bitblt),
- TOKEN2ID(Answer),
+ ,TOKEN2ID(Bitblt)
+ ,TOKEN2ID(Answer)
#endif
};