Author: chromatic
Date: Thu Apr 12 23:53:20 2007
New Revision: 18175
Modified:
trunk/compilers/imcc/symreg.h
trunk/include/parrot/inter_call.h
trunk/include/parrot/resources.h
trunk/include/parrot/sub.h
Log:
Remove trailing commas in enums (Steve Peters, RT #42474).
Modified: trunk/compilers/imcc/symreg.h
==============================================================================
--- trunk/compilers/imcc/symreg.h (original)
+++ trunk/compilers/imcc/symreg.h Thu Apr 12 23:53:20 2007
@@ -143,7 +143,7 @@
P_LOAD = SUB_FLAG_PF_LOAD, /* 1<<5 0x20 - private5 */
P_IMMEDIATE = SUB_FLAG_PF_IMMEDIATE, /* 1<<6 0x40 - private6 */
P_POSTCOMP = SUB_FLAG_PF_POSTCOMP, /* 1<<7 0x80 - private7 */
- P_INIT = SUB_COMP_FLAG_PF_INIT, /* 1<<10 0x400 - 10 */
+ P_INIT = SUB_COMP_FLAG_PF_INIT /* 1<<10 0x400 - 10 */
} pragma_enum_t;
typedef enum {
Modified: trunk/include/parrot/inter_call.h
==============================================================================
--- trunk/include/parrot/inter_call.h (original)
+++ trunk/include/parrot/inter_call.h Thu Apr 12 23:53:20 2007
@@ -108,7 +108,7 @@
typedef enum arg_pass_t {
PARROT_PASS_PARAMS = 0x00,
- PARROT_PASS_RESULTS = 0x01,
+ PARROT_PASS_RESULTS = 0x01
} arg_pass_t;
PARROT_API int Parrot_init_arg_indexes_and_sig_pmc(Interp *interp,
parrot_context_t *ctx,
Modified: trunk/include/parrot/resources.h
==============================================================================
--- trunk/include/parrot/resources.h (original)
+++ trunk/include/parrot/resources.h Thu Apr 12 23:53:20 2007
@@ -141,7 +141,7 @@
/* interpinfo_s constants */
EXECUTABLE_FULLNAME,
- EXECUTABLE_BASENAME,
+ EXECUTABLE_BASENAME
} Interpinfo_enum;
/* &end_gen */
Modified: trunk/include/parrot/sub.h
==============================================================================
--- trunk/include/parrot/sub.h (original)
+++ trunk/include/parrot/sub.h Thu Apr 12 23:53:20 2007
@@ -87,7 +87,7 @@
SUB_COMP_FLAG_BIT_28 = 1 << 28,
SUB_COMP_FLAG_BIT_29 = 1 << 29,
SUB_COMP_FLAG_BIT_30 = 1 << 30,
- SUB_COMP_FLAG_MASK = 0x00000400,
+ SUB_COMP_FLAG_MASK = 0x00000400
} sub_comp_flags_enum;
#define Sub_comp_get_FLAGS(o) ((PMC_sub(o))->comp_flags)