> I would prefer that the macros were written with the do-while pattern, > but it's a legacy codebase that uses HGOTO_ERROR() no fewer than 12,000 > times, and most occurrences have no semicolon. I will have to automate > the conversion, and I guess that I cannot use spatch to do it.
Would you like to try out how good semicolons can be added behind these macro calls by a small script for the semantic patch language? Regards, Markus _______________________________________________ Cocci mailing list Cocci@systeme.lip6.fr https://systeme.lip6.fr/mailman/listinfo/cocci