11
11
| Some(pragmas,data) -> Some (pragmas,Ast0.rewrap s (cont data))
13
let left_mcode (a,b,info,mcodekind,d) =
13
let left_mcode (a,b,info,mcodekind,d,e) =
14
14
match (info.Ast0.strings_before,mcodekind) with
15
15
([],_) | (_,Ast0.PLUS) -> None
16
| (l,_) -> Some(l,(a,b,{info with Ast0.strings_before = []},mcodekind,d))
16
| (l,_) -> Some(l,(a,b,{info with Ast0.strings_before = []},mcodekind,d,e))
18
let right_mcode (a,b,info,mcodekind,d) =
18
let right_mcode (a,b,info,mcodekind,d,e) =
19
19
match (info.Ast0.strings_after,mcodekind) with
20
20
([],_) | (_,Ast0.PLUS) -> None
21
| (l,_) -> Some(l,(a,b,{info with Ast0.strings_after = []},mcodekind,d))
21
| (l,_) -> Some(l,(a,b,{info with Ast0.strings_after = []},mcodekind,d,e))
23
23
let update_before pragmas (info,x) =
24
24
({info with Ast0.strings_before = pragmas @ info.Ast0.strings_before},