permit multiline comments and strings in macros
[bpt/coccinelle.git] / parsing_c / compare_c.mli
CommitLineData
ae4735db
C
1type compare_result =
2 | Correct
34e49164
C
3 | Pb of string
4 | PbOnlyInNotParsedCorrectly of string
5
6
7(* the string list is the output of diff *)
8
ae4735db
C
9val compare_ast :
10 Common.filename -> Common.filename -> compare_result * string list
951c7801
C
11
12val compare_default : (* compare to a res file *)
978fd7e5 13 Common.filename -> Common.filename -> compare_result * string list
34e49164 14
951c7801 15val compare_to_original : (* compare to the source of the transformation *)
978fd7e5 16 Common.filename -> Common.filename -> compare_result * string list
34e49164
C
17
18
19val compare_result_to_string : compare_result * string list -> string
20val compare_result_to_bool : compare_result -> bool