diff options
-rw-r--r-- | ChangeLog | 21 | ||||
-rw-r--r-- | compile.c | 2 | ||||
-rw-r--r-- | cont.c | 2 | ||||
-rw-r--r-- | debug.c | 2 | ||||
-rw-r--r-- | eval_intern.h | 2 | ||||
-rw-r--r-- | include/ruby/ruby.h | 4 | ||||
-rw-r--r-- | parse.y | 4 | ||||
-rw-r--r-- | process.c | 2 | ||||
-rw-r--r-- | ruby.c | 2 | ||||
-rw-r--r-- | vm_core.h | 2 |
10 files changed, 32 insertions, 11 deletions
@@ -1,3 +1,24 @@ +Tue Jul 1 17:14:59 2008 URABE Shyouhei <shyouhei@ruby-lang.org> + + * include/ruby/ruby.h (enum ruby_special_consts): ISO C forbids + comma at end of enumerator list + + * include/ruby/ruby.h (enum ruby_value_type): ditto. + + * eval_intern.h (enum): ditto. + + * vm_core.h (enum rb_thread_status): ditto. + + * parse.y (enum lex_state_e): ditto. + + * parse.y (enum string_type): ditto. + + * process.c (enum): ditto. + + * ruby.c (enum dump_flag_bits): ditto. + + * ruby.c (enum disable_flag_bits): ditto. + Tue Jul 1 17:21:42 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> * regexec.c (stack_double): use MatchStackLimitSize atomically. @@ -35,7 +35,7 @@ typedef struct iseq_link_element { ISEQ_ELEMENT_NONE = INT2FIX(0x00), ISEQ_ELEMENT_LABEL = INT2FIX(0x01), ISEQ_ELEMENT_INSN = INT2FIX(0x02), - ISEQ_ELEMENT_ADJUST = INT2FIX(0x03), + ISEQ_ELEMENT_ADJUST = INT2FIX(0x03) } type; struct iseq_link_element *next; struct iseq_link_element *prev; @@ -17,7 +17,7 @@ enum context_type { CONTINUATION_CONTEXT = 0, FIBER_CONTEXT = 1, - ROOT_FIBER_CONTEXT = 2, + ROOT_FIBER_CONTEXT = 2 }; typedef struct rb_context_struct { @@ -63,7 +63,7 @@ static const union { RUBY_NODE_TYPEMASK = NODE_TYPEMASK, RUBY_NODE_LSHIFT = NODE_LSHIFT, RUBY_NODE_LMASK = NODE_LMASK, - RUBY_NODE_FL_NEWLINE = NODE_FL_NEWLINE, + RUBY_NODE_FL_NEWLINE = NODE_FL_NEWLINE } various; } dummy_gdb_enums; diff --git a/eval_intern.h b/eval_intern.h index 7bc42f8de3..19275d911c 100644 --- a/eval_intern.h +++ b/eval_intern.h @@ -205,7 +205,7 @@ void rb_thread_wait_other_threads(void); enum { RAISED_EXCEPTION = 1, RAISED_STACKOVERFLOW = 2, - RAISED_NOMEMORY = 4, + RAISED_NOMEMORY = 4 }; int rb_thread_set_raised(rb_thread_t *th); int rb_thread_reset_raised(rb_thread_t *th); diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h index 1c8e44e67b..fe10e4aef3 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -235,7 +235,7 @@ enum ruby_special_consts { RUBY_IMMEDIATE_MASK = 0x03, RUBY_FIXNUM_FLAG = 0x01, RUBY_SYMBOL_FLAG = 0x0e, - RUBY_SPECIAL_SHIFT = 8, + RUBY_SPECIAL_SHIFT = 8 }; #define Qfalse ((VALUE)RUBY_Qfalse) @@ -280,7 +280,7 @@ enum ruby_value_type { RUBY_T_NODE = 0x1c, RUBY_T_ICLASS = 0x1d, - RUBY_T_MASK = 0x1f, + RUBY_T_MASK = 0x1f }; #define T_NONE RUBY_T_NONE @@ -70,7 +70,7 @@ enum lex_state_e { EXPR_FNAME, /* ignore newline, no reserved words. */ EXPR_DOT, /* right after `.' or `::', no reserved words. */ EXPR_CLASS, /* immediate after `class', no here document. */ - EXPR_VALUE, /* alike EXPR_BEG but label is disallowed. */ + EXPR_VALUE /* alike EXPR_BEG but label is disallowed. */ }; # ifdef HAVE_LONG_LONG @@ -4843,7 +4843,7 @@ enum string_type { 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 VALUE @@ -1261,7 +1261,7 @@ enum { EXEC_OPTION_DUP2, EXEC_OPTION_CLOSE, EXEC_OPTION_OPEN, - EXEC_OPTION_CLOSE_OTHERS, + EXEC_OPTION_CLOSE_OTHERS }; static VALUE @@ -66,7 +66,7 @@ void ruby_set_inplace_mode(const char *); #define DISABLE_BIT(bit) (1U << disable_##bit) enum disable_flag_bits { disable_gems, - disable_rubyopt, + disable_rubyopt }; #define DUMP_BIT(bit) (1U << dump_##bit) @@ -371,7 +371,7 @@ enum rb_thread_status { THREAD_RUNNABLE, THREAD_STOPPED, THREAD_STOPPED_FOREVER, - THREAD_KILLED, + THREAD_KILLED }; typedef RUBY_JMP_BUF rb_jmpbuf_t; |