- if (strcmp (filename, "@output_header_name@") == 0)
- filename = spec_defines_file;
- else if (strcmp (filename, "@output_parser_name@") == 0)
- filename = parser_file_name;
+ if (strcmp (file_name, "@output_header_name@") == 0)
+ {
+ assert (spec_defines_file);
+ file_name = spec_defines_file;
+ }
+ else if (strcmp (file_name, "@output_parser_name@") == 0)
+ {
+ assert (parser_file_name);
+ file_name = parser_file_name;
+ }