Be more careful about included files.
Use persistent storage for parser->cur_file.