Convert 0-casts to NULL.
Move outfile config to flex/bison files.
Add new lex header to gitignore.