Allow seq_expr, not only expr as argument of attributes/extension nodes. This allows us to write [%do a; b; c <-- d; f c; ...].
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/extension_points@13376 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
a9148b249e
commit
dec300a026
|
@ -1969,7 +1969,7 @@ item_extension:
|
|||
LBRACKETPERCENTPERCENT attr_id opt_expr RBRACKET { ($2, $3) }
|
||||
;
|
||||
opt_expr:
|
||||
expr { $1 }
|
||||
seq_expr { $1 }
|
||||
| { ghunit () }
|
||||
;
|
||||
%%
|
||||
|
|
Loading…
Reference in New Issue