The Pointer cases in pp_type_with_ident_rest and pp_type_left of pretty_print_c.ml sometimes do not add a necessary space, if there exist tokens after the *.
Create changes necessary for adding this space and add a test case for * const *. parsing_c/pretty_print_c.ml | 4 ++++ tests/ptrconstptr.c | 3 +++ tests/ptrconstptr.cocci | 7 +++++++ tests/ptrconstptr.res | 3 +++ 4 files changed, 17 insertions(+) _______________________________________________ Cocci mailing list Cocci@systeme.lip6.fr https://systeme.lip6.fr/mailman/listinfo/cocci