aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog14
-rw-r--r--compile.c2
-rw-r--r--constant.h2
-rw-r--r--iseq.h4
-rw-r--r--vm_core.h4
5 files changed, 20 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index b62f9bf978..841160149f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+Fri Dec 10 11:36:43 2010 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
+
+ * compile.c (enum): remove a comma at end of enumerator list.
+
+ * constant.h (rb_const_flag_t): ditto.
+
+ * iseq.h (enum catch_type): ditto.
+
+ * iseq.h (enum defined_type): ditto.
+
+ * vm_core.h (enum iseq_type): ditto.
+
+ * vm_core.h (enum vm_special_object_type): ditto.
+
Fri Dec 10 10:47:53 2010 NARUSE, Yui <naruse@ruby-lang.org>
* sprintf.c (_HAVE_SANE_QUAD_): Don't forget LP64, r30156.
diff --git a/compile.c b/compile.c
index 80a0e6f9ea..a564b571fe 100644
--- a/compile.c
+++ b/compile.c
@@ -27,7 +27,7 @@ typedef struct iseq_link_element {
ISEQ_ELEMENT_NONE,
ISEQ_ELEMENT_LABEL,
ISEQ_ELEMENT_INSN,
- ISEQ_ELEMENT_ADJUST,
+ ISEQ_ELEMENT_ADJUST
} type;
struct iseq_link_element *next;
struct iseq_link_element *prev;
diff --git a/constant.h b/constant.h
index d347ea19f5..ad9ef5a065 100644
--- a/constant.h
+++ b/constant.h
@@ -13,7 +13,7 @@
typedef enum {
CONST_PUBLIC = 0x00,
- CONST_PRIVATE = 0x01,
+ CONST_PRIVATE = 0x01
} rb_const_flag_t;
typedef struct rb_const_entry_struct {
diff --git a/iseq.h b/iseq.h
index 2f3c460e8e..abe888afec 100644
--- a/iseq.h
+++ b/iseq.h
@@ -51,7 +51,7 @@ struct iseq_catch_table_entry {
CATCH_TYPE_RETRY,
CATCH_TYPE_BREAK,
CATCH_TYPE_REDO,
- CATCH_TYPE_NEXT,
+ CATCH_TYPE_NEXT
} type;
VALUE iseq;
unsigned long start;
@@ -107,7 +107,7 @@ enum defined_type {
DEFINED_YIELD,
DEFINED_REF,
DEFINED_ZSUPER,
- DEFINED_FUNC,
+ DEFINED_FUNC
};
#if defined __GNUC__ && __GNUC__ >= 4
diff --git a/vm_core.h b/vm_core.h
index bf64724390..c1886a56d4 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -161,7 +161,7 @@ struct rb_iseq_struct {
ISEQ_TYPE_ENSURE,
ISEQ_TYPE_EVAL,
ISEQ_TYPE_MAIN,
- ISEQ_TYPE_DEFINED_GUARD,
+ ISEQ_TYPE_DEFINED_GUARD
} type; /* instruction sequence type */
VALUE name; /* String: iseq name */
@@ -554,7 +554,7 @@ typedef struct {
enum vm_special_object_type {
VM_SPECIAL_OBJECT_VMCORE = 1,
VM_SPECIAL_OBJECT_CBASE,
- VM_SPECIAL_OBJECT_CONST_BASE,
+ VM_SPECIAL_OBJECT_CONST_BASE
};
#define VM_FRAME_MAGIC_METHOD 0x11