Lexer now able to generate C headers and the lexer function template