flitter/lang_c/parsing/ast_c_simple_build.mli
Joey Yakimowich-Payne fa600b98f7 Add poc files
2018-05-26 10:55:38 +09:00

12 lines
392 B
OCaml

exception ObsoleteConstruct of string * Parse_info.info
exception CplusplusConstruct
exception TodoConstruct of string * Parse_info.info
exception CaseOutsideSwitch
exception MacroInCase
(* take care! this use Common.gensym to generate fresh unique anon structures
* so this function may return a different program given the same input
*)
val program:
Ast_cpp.program -> Ast_c.program