Remove duplicated function
Remove unneeded make-variable-buffer-local
Ensure there is at least one space before C block
Skip C code blocks correcly when walking production cases
Prevent error when formatting a production with no C blocks