fixed ja scnippets
added switch and case for C snippets