diff options
-rw-r--r-- | ChangeLog | 14 | ||||
-rw-r--r-- | compile.c | 2 | ||||
-rw-r--r-- | constant.h | 2 | ||||
-rw-r--r-- | iseq.h | 4 | ||||
-rw-r--r-- | vm_core.h | 4 |
5 files changed, 20 insertions, 6 deletions
@@ -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. @@ -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 { @@ -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 @@ -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 |