diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-08-06 00:35:33 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-08-06 00:35:33 +0000 |
commit | 2c9ef876b51feda4487bbcbd75bace18c2cd1e59 (patch) | |
tree | 49671e596320587499a80537b2ae77eb0b5c5745 /id_table.c | |
parent | 6dc64d36499a0eb4097c199681fd40273e7969dc (diff) | |
download | ruby-2c9ef876b51feda4487bbcbd75bace18c2cd1e59.tar.gz |
id_table.h: dummy sentinel
* id_table.h (rb_id_table_iterator_result): add dummy sentinel
member because C standard prohibits a trailing comma.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'id_table.c')
-rw-r--r-- | id_table.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/id_table.c b/id_table.c index b8111aa86c..1d1d684745 100644 --- a/id_table.c +++ b/id_table.c @@ -720,6 +720,7 @@ list_id_table_delete(struct list_id_table *tbl, ID id) #define FOREACH_LAST() do { \ switch (ret) { \ + case ID_TABLE_ITERATOR_RESULT_END: \ case ID_TABLE_CONTINUE: \ case ID_TABLE_STOP: \ break; \ |