Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Camlp4: little fix for revised: accept empty do sequences.
git-svn-id: http://caml.inria.fr/svn/ocaml/version/3.12@10576 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
  • Loading branch information
np committed Jun 16, 2010
1 parent 9818cee commit db86a97
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions camlp4/Camlp4Parsers/Camlp4OCamlRevisedParser.ml
Expand Up @@ -719,7 +719,9 @@ Very old (no more supported) syntax:\n\
;
do_sequence:
[ [ seq = TRY ["{"; seq = sequence; "}" -> seq] -> seq
| TRY ["{"; "}"] -> <:expr< () >>
| seq = TRY [seq = sequence; "done" -> seq] -> seq
| "done" -> <:expr< () >>
] ]
;
infixop5:
Expand Down

0 comments on commit db86a97

Please sign in to comment.