location: remove some ugly debugging code traces

* data/location.cc: here.
This commit is contained in:
Akim Demaille
2014-02-03 15:03:03 +01:00
parent ab96bb2457
commit b702ec61ab

View File

@@ -273,8 +273,7 @@ m4_define([b4_location_define],
operator<< (std::basic_ostream<YYChar>& ostr, const location& loc)
{
unsigned int end_col = 0 < loc.end.column ? loc.end.column - 1 : 0;
ostr << loc.begin// << "(" << loc.end << ") "
;
ostr << loc.begin;
if (loc.end.filename
&& (!loc.begin.filename
|| *loc.begin.filename != *loc.end.filename))