1 (* Function table management *)
3 type pos
= { current_element
: string;
13 | Type
of Ast_c.fullType
14 | Init
of Ast_c.initialiser
16 | Param
of Ast_c.parameterType
17 | ParamList
of Ast_c.parameterType
Ast_c.wrap2 list
18 | Expr
of Ast_c.expression
19 | ExprList
of Ast_c.argument
Ast_c.wrap2 list
20 | Decl
of Ast_c.declaration
21 | Field
of Ast_c.field
22 | Stmt
of Ast_c.statement
24 let fcts : (string, param_type list
-> string ref list
-> unit) Hashtbl.t
=
25 Hashtbl.create
11 (* Use prime number *)
27 (* ---------------------------------------------------------------------- *)
28 (* Match management *)
30 let inc_match = ref true
31 let include_match x
= inc_match := x
32 let dir () = !Flag.dir