Skip to content

Commit 9e0f406

Browse files
committed
Allow line breaks within structure elements
1 parent e956c21 commit 9e0f406

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

frontends/spin/spin.y

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1071,6 +1071,8 @@ structlist:
10711071
{ $$ = CommentedListHolder($1); }
10721072
| structlist ',' structitem
10731073
{ $$ = AddToList($1, CommentedListHolder($3)); }
1074+
| structlist ',' SP_EOLN structitem
1075+
{ $$ = AddToList($1, CommentedListHolder($4)); }
10741076
;
10751077

10761078
structitem:

0 commit comments

Comments
 (0)