diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-13 13:00:14 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-13 13:00:14 +0000 |
commit | c33ba4a67ee0aa5b905000d872951268861eb546 (patch) | |
tree | 5c68e4a089bbb43eb1d94c65dc931bff3d71c19e | |
parent | fb4b6f70b7e653dc096d44cf87f21ad3f916e788 (diff) | |
download | ruby-c33ba4a67ee0aa5b905000d872951268861eb546.tar.gz |
compile.c (struct ibf_object_*): Use FLEX_ARY_LEN
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | compile.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -8786,7 +8786,7 @@ enum ibf_object_class_index { struct ibf_object_string { long encindex; long len; - char ptr[1]; + char ptr[FLEX_ARY_LEN]; }; struct ibf_object_regexp { @@ -8796,12 +8796,12 @@ struct ibf_object_regexp { struct ibf_object_array { long len; - long ary[1]; + long ary[FLEX_ARY_LEN]; }; struct ibf_object_hash { long len; - long keyval[1]; + long keyval[FLEX_ARY_LEN]; }; struct ibf_object_struct_range { @@ -8814,7 +8814,7 @@ struct ibf_object_struct_range { struct ibf_object_bignum { ssize_t slen; - BDIGIT digits[1]; + BDIGIT digits[FLEX_ARY_LEN]; }; enum ibf_object_data_type { |