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