The following patch fixes the empty line problem.
julia
diff -u -p a/parsing_c/unparse_c.ml b/parsing_c/unparse_c.ml
--- a/parsing_c/unparse_c.ml
+++ b/parsing_c/unparse_c.ml
@@ -638,7 +638,7 @@ let remove_minus_and_between_and_expande
@ (adjust_within_minus cp (t2::xs))
| (T2(_,Min adj2,_) as t2)::xs ->
let is_whitespace_or_plus = function
- (T2 _) as x -> is_space x
+ (T2 _) as x -> is_whitespace x
| _ -> true (*plus*) in
if List.for_all is_whitespace_or_plus not_minus_list
then
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)