From f191bb29ed751b16379d9e26dd8801c1efc5f04a Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Thu, 1 Jan 2009 20:47:58 +0000 Subject: [PATCH] Refer to the standard. [r25031] --- parser.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/parser.c b/parser.c index 171b723..40f2aeb 100644 --- a/parser.c +++ b/parser.c @@ -3030,6 +3030,7 @@ static compound_t *parse_compound_type_specifier(bool is_struct) parse_compound_type_entries(compound); modifiers |= parse_attributes(&attributes); + /* ISO/IEC 14882:1998(E) §7.1.3:5 */ if (symbol == NULL) { assert(anonymous_entity == NULL); anonymous_entity = (entity_t*)compound; @@ -3144,6 +3145,7 @@ static type_t *parse_enum_specifier(void) parse_enum_entries(type); parse_attributes(&attributes); + /* ISO/IEC 14882:1998(E) §7.1.3:5 */ if (symbol == NULL) { assert(anonymous_entity == NULL); anonymous_entity = entity; -- 2.20.1