Added some utility to generate C code for LALR parser