Fix uninitialized variable error.
Delete allocated operators to prevent a memory leak.
Fix memory leaks.

We use a static array instead of a dynamic one (which is also more efficient) in the lexer
and call yylex_delete to free up space allocated by the lexer during parsing.
Fix typos and add debugging information.