/* localize the error message string */
error = _(error);
- fprintf(stderr, "%s:%d: ", input_filename, yylineno);
+ fprintf(stderr, "%s:%d: ", input_filename, base_yylineno);
switch(type)
{
vmmerror(error_code, ET_ERROR, error, ap);
va_end(ap);
- if (yyin)
- fclose(yyin);
- if (yyout)
- fclose(yyout);
+ if (base_yyin)
+ fclose(base_yyin);
+ if (base_yyout)
+ fclose(base_yyout);
if (strcmp(output_filename, "-") != 0 && unlink(output_filename) != 0)
fprintf(stderr, _("could not remove output file \"%s\"\n"), output_filename);
static char *
make_name(void)
{
- return mm_strdup(yytext);
+ return mm_strdup(base_yytext);
}
static char *