Skip to content

Commit 0022844

Browse files
committed
Fix indentation for enum_name
1 parent a743af3 commit 0022844

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/ansi-c/parser.y

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1790,10 +1790,10 @@ bit_field_size:
17901790
enum_name:
17911791
enum_key
17921792
gcc_type_attribute_opt
1793-
{
1794-
// an anon enum
1795-
}
1796-
'{' enumerator_list_opt '}'
1793+
{
1794+
// an anon enum
1795+
}
1796+
'{' enumerator_list_opt '}'
17971797
gcc_type_attribute_opt
17981798
{
17991799
parser_stack($1).operands().swap(parser_stack($5).operands());
@@ -1802,10 +1802,10 @@ enum_name:
18021802
| enum_key
18031803
gcc_type_attribute_opt
18041804
identifier_or_typedef_name
1805-
{
1806-
// an enum with tag
1807-
parser_stack($1).set(ID_tag, parser_stack($3));
1808-
}
1805+
{
1806+
// an enum with tag
1807+
parser_stack($1).set(ID_tag, parser_stack($3));
1808+
}
18091809
'{' enumerator_list_opt '}'
18101810
gcc_type_attribute_opt
18111811
{
@@ -1822,7 +1822,7 @@ enum_name:
18221822
$$=merge($1, merge($2, $4)); // throw in the gcc attributes
18231823
}
18241824
;
1825-
1825+
18261826
enum_key: TOK_ENUM
18271827
{
18281828
$$=$1;

0 commit comments

Comments
 (0)