remove a comma at end of enumerator list.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kazu 2010-12-10 02:42:06 +00:00
parent 9ea7e27d58
commit fe1f0df92b
5 changed files with 20 additions and 6 deletions

View File

@ -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> Fri Dec 10 10:47:53 2010 NARUSE, Yui <naruse@ruby-lang.org>
* sprintf.c (_HAVE_SANE_QUAD_): Don't forget LP64, r30156. * sprintf.c (_HAVE_SANE_QUAD_): Don't forget LP64, r30156.

View File

@ -27,7 +27,7 @@ typedef struct iseq_link_element {
ISEQ_ELEMENT_NONE, ISEQ_ELEMENT_NONE,
ISEQ_ELEMENT_LABEL, ISEQ_ELEMENT_LABEL,
ISEQ_ELEMENT_INSN, ISEQ_ELEMENT_INSN,
ISEQ_ELEMENT_ADJUST, ISEQ_ELEMENT_ADJUST
} type; } type;
struct iseq_link_element *next; struct iseq_link_element *next;
struct iseq_link_element *prev; struct iseq_link_element *prev;

View File

@ -13,7 +13,7 @@
typedef enum { typedef enum {
CONST_PUBLIC = 0x00, CONST_PUBLIC = 0x00,
CONST_PRIVATE = 0x01, CONST_PRIVATE = 0x01
} rb_const_flag_t; } rb_const_flag_t;
typedef struct rb_const_entry_struct { typedef struct rb_const_entry_struct {

4
iseq.h
View File

@ -51,7 +51,7 @@ struct iseq_catch_table_entry {
CATCH_TYPE_RETRY, CATCH_TYPE_RETRY,
CATCH_TYPE_BREAK, CATCH_TYPE_BREAK,
CATCH_TYPE_REDO, CATCH_TYPE_REDO,
CATCH_TYPE_NEXT, CATCH_TYPE_NEXT
} type; } type;
VALUE iseq; VALUE iseq;
unsigned long start; unsigned long start;
@ -107,7 +107,7 @@ enum defined_type {
DEFINED_YIELD, DEFINED_YIELD,
DEFINED_REF, DEFINED_REF,
DEFINED_ZSUPER, DEFINED_ZSUPER,
DEFINED_FUNC, DEFINED_FUNC
}; };
#if defined __GNUC__ && __GNUC__ >= 4 #if defined __GNUC__ && __GNUC__ >= 4

View File

@ -161,7 +161,7 @@ struct rb_iseq_struct {
ISEQ_TYPE_ENSURE, ISEQ_TYPE_ENSURE,
ISEQ_TYPE_EVAL, ISEQ_TYPE_EVAL,
ISEQ_TYPE_MAIN, ISEQ_TYPE_MAIN,
ISEQ_TYPE_DEFINED_GUARD, ISEQ_TYPE_DEFINED_GUARD
} type; /* instruction sequence type */ } type; /* instruction sequence type */
VALUE name; /* String: iseq name */ VALUE name; /* String: iseq name */
@ -554,7 +554,7 @@ typedef struct {
enum vm_special_object_type { enum vm_special_object_type {
VM_SPECIAL_OBJECT_VMCORE = 1, VM_SPECIAL_OBJECT_VMCORE = 1,
VM_SPECIAL_OBJECT_CBASE, VM_SPECIAL_OBJECT_CBASE,
VM_SPECIAL_OBJECT_CONST_BASE, VM_SPECIAL_OBJECT_CONST_BASE
}; };
#define VM_FRAME_MAGIC_METHOD 0x11 #define VM_FRAME_MAGIC_METHOD 0x11