mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-27 00:37:37 +08:00
allow usage of call_once in procedures
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user