Removed gghc_input.
Use vasprintf.
Capture yylineno.