Improved main snippet for cc-mode.