X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/9fd33c2b6ef5d98ac14ac7d83bc453b148fda768..06ec0105b12cdfa2994283e345154e6720354808:/src/files.c?ds=inline diff --git a/src/files.c b/src/files.c index 88234bfc..7fea3064 100644 --- a/src/files.c +++ b/src/files.c @@ -360,7 +360,7 @@ output_file_name_check (char **file_name) bool conflict = false; if (STREQ (*file_name, grammar_file)) { - complain (_("refusing to overwrite the input file %s"), + complain (NULL, complaint, _("refusing to overwrite the input file %s"), quote (*file_name)); conflict = true; } @@ -370,8 +370,8 @@ output_file_name_check (char **file_name) for (i = 0; i < file_names_count; i++) if (STREQ (file_names[i], *file_name)) { - warn (_("conflicting outputs to file %s"), - quote (*file_name)); + complain (NULL, Wother, _("conflicting outputs to file %s"), + quote (*file_name)); conflict = true; } }