Re: Solving checkpatch error with lex

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
 */

Attachment: pgprkUNpmkIjO.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux