The compiler that I use has "__asm__" as the in-line assembly keyword. Is there a way to tell lint to totally skip any code beginning with that and ending with a semi-colon besides using an "#ifndef _lint"?

Try: 

   +rw(_to_semi) 
   -d__asm__=_to_semi 

This option is discussed in Section 5.8.3 of our manual.

Feedback and Knowledge Base