projects
/
bison.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
warnings: use the regular interface for s/r and r/r conflicts
[bison.git]
/
src
/
location.c
diff --git
a/src/location.c
b/src/location.c
index 88887e92b589b5a436a02eb28f17c1351739b4ce..9960d623007e927c35a8b53fe70d0340e6ec9095 100644
(file)
--- a/
src/location.c
+++ b/
src/location.c
@@
-90,9
+90,9
@@
location_compute (location *loc, boundary *cur, char const *token, size_t size)
loc->end = *cur;
if (line == INT_MAX && loc->start.line != INT_MAX)
loc->end = *cur;
if (line == INT_MAX && loc->start.line != INT_MAX)
-
warn_at (*loc
, _("line number overflow"));
+
complain_at (*loc, Wother
, _("line number overflow"));
if (column == INT_MAX && loc->start.column != INT_MAX)
if (column == INT_MAX && loc->start.column != INT_MAX)
-
warn_at (*loc
, _("column number overflow"));
+
complain_at (*loc, Wother
, _("column number overflow"));
}
}