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