Change literal buffer size to definition.
Move initial declaration out of loop.
Stop using yyerror for fatal errors.