summaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-01 08:27:58 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-01 08:27:58 +0000
commita4ae63afeb5935ff803cbb7047878bee0b3f88ea (patch)
tree08a2eaccc276bc216f2f0fbec60d28216f435091 /parse.y
parenta7bb3d4d983b1cd2e1d529d8bec909dd7e313c94 (diff)
downloadruby-a4ae63afeb5935ff803cbb7047878bee0b3f88ea.tar.gz
ruby-a4ae63afeb5935ff803cbb7047878bee0b3f88ea.tar.xz
ruby-a4ae63afeb5935ff803cbb7047878bee0b3f88ea.zip
* 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. * compile.c (iseq_link_element): ditto * debug.c (union): ditto. * cont.c (enum context_type): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/parse.y b/parse.y
index 0970cc43e..4b42870a0 100644
--- a/parse.y
+++ b/parse.y
@@ -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