Skip to content

Commit 18c2d49

Browse files
committed
minor refactor to make debugging easier
1 parent dee1054 commit 18c2d49

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

frontends/spin/spin.y

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1025,7 +1025,9 @@ enumlist:
10251025

10261026
enumitem:
10271027
identifier '=' expr
1028-
{ $$ = NewAST(AST_ASSIGN, $1, $3); }
1028+
{ AST *decl = NewAST(AST_ASSIGN, $1, $3);
1029+
$$ = decl;
1030+
}
10291031
| identifier
10301032
{ $$ = $1; }
10311033
| identifier '[' expr ']'

0 commit comments

Comments
 (0)