diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-08-09 01:27:52 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-08-09 01:27:52 +0900 |
commit | 830fd0418170843f234ed82e07d2fd61d86153e7 (patch) | |
tree | 5388e8f9cf9c2236d293906d9e3f05eee5f5cf46 /compile.c | |
parent | c0f4943840948100b057ebb0ef6764ffd252cd5e (diff) |
C99 allows trailing comma in enum
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -40,7 +40,7 @@ typedef struct iseq_link_element { ISEQ_ELEMENT_LABEL, ISEQ_ELEMENT_INSN, ISEQ_ELEMENT_ADJUST, - ISEQ_ELEMENT_TRACE + ISEQ_ELEMENT_TRACE, } type; struct iseq_link_element *next; struct iseq_link_element *prev; @@ -3869,7 +3869,7 @@ compile_args(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NODE *const node_roo enum compile_array_type_t { COMPILE_ARRAY_TYPE_ARRAY, - COMPILE_ARRAY_TYPE_HASH + COMPILE_ARRAY_TYPE_HASH, }; static inline int @@ -9852,7 +9852,7 @@ static const size_t ibf_object_header_align = enum ibf_object_class_index { IBF_OBJECT_CLASS_OBJECT, IBF_OBJECT_CLASS_ARRAY, - IBF_OBJECT_CLASS_STANDARD_ERROR + IBF_OBJECT_CLASS_STANDARD_ERROR, }; struct ibf_object_string { @@ -9890,7 +9890,7 @@ struct ibf_object_bignum { }; enum ibf_object_data_type { - IBF_OBJECT_DATA_ENCODING + IBF_OBJECT_DATA_ENCODING, }; struct ibf_object_complex_rational { |