allow usage of call_once in procedures

This commit is contained in:
Felix Ruess
2016-12-14 21:58:25 +01:00
parent 995a9ed066
commit 6bbe7d7f29
+1 -1
View File
@@ -150,7 +150,7 @@ let transform_stage = fun prefix reroutes env xml ->
assert (children=[]);
let attribs = transform_values ["wp"; "vmode"] env attribs in
Xml.Element (tag, attribs, children)
| "call" | "set" ->
| "call" | "call_once" | "set" ->
let attribs = transform_values ["var"] env attribs in
Xml.Element (tag, attribs, children)
| _ -> failwith (sprintf "Fp_proc: Unexpected tag: '%s'" tag)