Ast_c.cocci_tag =
{contents =
Some (Ast_cocci.CONTEXT (Ast_cocci.NoPos, Ast_cocci.NOTHING), [])};
+ Ast_c.annots_tag = Token_annot.empty;
Ast_c.comments_tag = {contents =
{Ast_c.mbefore = []; Ast_c.mafter = [];
Ast_c.mbefore2 = []; Ast_c.mafter2 = []
qu, Ast_c.mk_tybis (StructUnionName (su, s)) [i1;i2]
| None, _ ->
ty
- | x -> raise Impossible
+ | x -> raise (Impossible 126)
)
- | _ -> raise Impossible
+ | _ -> raise (Impossible 127)
(*****************************************************************************)
match decl with
| Ast_c.DeclList (xs,ii1) ->
(match xs with
- | [] -> raise Impossible
+ | [] -> raise (Impossible 128)
(* todo? for other xs ? *)
| (x,ii2)::xs ->
(* TODO normalize ? what if nested structure definition ? *)
v_type
)
- | Ast_c.MacroDecl _ ->
+ | Ast_c.MacroDecl _ | Ast_c.MacroDeclInit _ ->
pr2_once "not handling MacroDecl type yet";
raise Todo
match decl with
| Ast_c.DeclList (xs,ii1) ->
(match xs with
- | [] -> raise Impossible
+ | [] -> raise (Impossible 129)
(* todo? for other xs ? *)
| (x,ii2)::xs ->
(match Ast_c.unwrap_typeC v_type with
| Ast_c.StructUnion (su, _must_be_some, fields) ->
(su, fields)
- | _ -> raise Impossible
+ | _ -> raise (Impossible 130)
)
)
- | Ast_c.MacroDecl _ -> raise Impossible
+ | Ast_c.MacroDecl _ | Ast_c.MacroDeclInit _ -> raise (Impossible 131)