My reaction when I see a case like this, is to write a lint style checker, and rig it to be called from the makefile.
I'd volunteer, but I do such things in perl, and that wouldn't be appropriate for tzcode.