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: pgpbndK6Nz20x.pgp
Description: PGP signature

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

Reply via email to