improved #ifn in c.snippets