Skip to content
Snippets Groups Projects
Commit a654d14b authored by ben.franksen's avatar ben.franksen
Browse files

removed yet another occasion where the MS C compiler chokes on a struct initializer

parent d6857f84
No related branches found
No related tags found
No related merge requests found
...@@ -279,7 +279,7 @@ when(p) ::= WHEN(t) LPAREN opt_expr(c) RPAREN block(b) EXIT. { ...@@ -279,7 +279,7 @@ when(p) ::= WHEN(t) LPAREN opt_expr(c) RPAREN block(b) EXIT. {
%type block {ExprPair} %type block {ExprPair}
block(p) ::= LBRACE block_defns(ds) statements(xs) RBRACE. { block(p) ::= LBRACE block_defns(ds) statements(xs) RBRACE. {
p = (ExprPair){ds,xs}; p.left = ds; p.right = xs;
} }
block_defns(p) ::= block_defns(ds) block_defn(d). { block_defns(p) ::= block_defns(ds) block_defn(d). {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment