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-0dff7051ff02
master
Alain Frisch 2013-03-08 08:18:01 +00:00
parent a9148b249e
commit dec300a026
1 changed files with 1 additions and 1 deletions

View File

@ -1969,7 +1969,7 @@ item_extension:
LBRACKETPERCENTPERCENT attr_id opt_expr RBRACKET { ($2, $3) }
;
opt_expr:
expr { $1 }
seq_expr { $1 }
| { ghunit () }
;
%%