From 506a9821ce44db2b02bf3da99bef8b2e55f46562 Mon Sep 17 00:00:00 2001 From: shyouhei Date: Wed, 22 Jul 2009 13:27:26 +0000 Subject: * method.h : Commas at end of enum list not allowed as of C89 * vm_method.c (rb_add_method): avoid C++ comment * vm_insnhelper.c (vm_call_cfunc): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- method.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'method.h') diff --git a/method.h b/method.h index 49eefade2d..6032d572d7 100644 --- a/method.h +++ b/method.h @@ -21,7 +21,7 @@ typedef enum { NOEX_UNDEF = NOEX_NOSUPER, NOEX_MODFUNC = 0x12, NOEX_SUPER = 0x20, - NOEX_VCALL = 0x40, + NOEX_VCALL = 0x40 } rb_method_flag_t; #define NOEX_SAFE(n) ((int)((n) >> 8) & 0x0F) @@ -39,7 +39,7 @@ typedef enum { VM_METHOD_TYPE_ZSUPER, VM_METHOD_TYPE_UNDEF, VM_METHOD_TYPE_NOTIMPLEMENTED, - VM_METHOD_TYPE_OPTIMIZED, /* Kernel#send, Proc#call, etc */ + VM_METHOD_TYPE_OPTIMIZED /* Kernel#send, Proc#call, etc */ } rb_method_type_t; typedef struct rb_method_cfunc_struct { @@ -62,7 +62,7 @@ typedef struct rb_method_entry_struct { VALUE proc; enum method_optimized_type { OPTIMIZED_METHOD_TYPE_SEND, - OPTIMIZED_METHOD_TYPE_CALL, + OPTIMIZED_METHOD_TYPE_CALL } optimize_type; } body; int alias_count; -- cgit v1.2.3