On Sun, 2020-01-19 at 18:48 +0530, Jaskaran Singh wrote: > For the following case: > > <macro> <typedef> <identifier> > > A case in parsing_hacks.ml sometimes mislabels <macro> as a > typedef ident. > > If <typedef> is a known typedef (such as u8 or *_t), then label > <macro> as a CppMacro. Subsequent cases will then label <typedef> > correctly. > > Following is a diff of --parse-c on the Linux Kernel v5.5-rc4: > Before > --- > After > > nb good = 18956150, nb passed = 134061 =========> 0.70% passed > --- > nb good = 18956150, nb passed = 134062 =========> 0.70% passed > > Signed-off-by: Jaskaran Singh <[email protected]>
Whoops, ignore this. The commit message comes out badly. Thanks, Jaskaran. _______________________________________________ Cocci mailing list [email protected] https://systeme.lip6.fr/mailman/listinfo/cocci
