mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
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
This commit is contained in:
parent
b46a8a5476
commit
a62dcd947c
3 changed files with 7 additions and 0 deletions
|
@ -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; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue