mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-23 11:13:03 +00:00
Include files.h. LOCATION_PRINT -> location_print.
This commit is contained in:
@@ -32,6 +32,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "complain.h"
|
#include "complain.h"
|
||||||
|
#include "files.h"
|
||||||
|
|
||||||
#ifndef _
|
#ifndef _
|
||||||
# define _(String) String
|
# define _(String) String
|
||||||
@@ -98,7 +99,7 @@ warn_at (location_t location, const char *message, ...)
|
|||||||
va_list args;
|
va_list args;
|
||||||
|
|
||||||
fflush (stdout);
|
fflush (stdout);
|
||||||
LOCATION_PRINT (stderr, location);
|
location_print (stderr, location);
|
||||||
fputs (": ", stderr);
|
fputs (": ", stderr);
|
||||||
fputs (_("warning: "), stderr);
|
fputs (_("warning: "), stderr);
|
||||||
|
|
||||||
@@ -138,7 +139,7 @@ complain_at (location_t location, const char *message, ...)
|
|||||||
va_list args;
|
va_list args;
|
||||||
|
|
||||||
fflush (stdout);
|
fflush (stdout);
|
||||||
LOCATION_PRINT (stderr, location);
|
location_print (stderr, location);
|
||||||
fputs (": ", stderr);
|
fputs (": ", stderr);
|
||||||
|
|
||||||
va_start (args, message);
|
va_start (args, message);
|
||||||
@@ -177,7 +178,7 @@ fatal_at (location_t location, const char *message, ...)
|
|||||||
va_list args;
|
va_list args;
|
||||||
|
|
||||||
fflush (stdout);
|
fflush (stdout);
|
||||||
LOCATION_PRINT (stderr, location);
|
location_print (stderr, location);
|
||||||
fputs (": ", stderr);
|
fputs (": ", stderr);
|
||||||
fputs (_("fatal error: "), stderr);
|
fputs (_("fatal error: "), stderr);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user