On 27-03-12 11:14, Julia Lawall wrote:
This seems to be a pretty common mistake. Perhaps it should generate a
warning for this specific misspelling.

We could perhaps emit a warning message if an identifier that is parsed as a type in the metavar declarations has a 1-edit distance to a metavardecl keyword.

The "symbol" declarations that I added a while ago can always be used to shut these warnings up if they would turn out to be annoying in particular cases.

Arie
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to