Solving checkpatch error with lex

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Wed Dec 17 13:52:45 EST 2014


On Thu, 18 Dec 2014 00:04:48 +0530, karthik nayak said:
> "//".* {fprintf(yyout, "/*%s*/", yytext + 2);}

This fails to fix block comments:

// this is line one
// this is line two
// this is line three

to
/*
 * THis is line one
 * This is line two
 * this is line three
 */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20141217/defaafbd/attachment.bin 


More information about the Kernelnewbies mailing list