[Linux-kernel-mentees] [PATCH 0/2] cocci: Add space for tokens after *
Jaskaran Singh
jaskaransingh7654321 at gmail.com
Thu Jan 16 10:44:46 UTC 2020
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(+)
More information about the Linux-kernel-mentees
mailing list