summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkim Demaille <akim@lrde.epita.fr>2014-02-03 15:03:03 +0100
committerAkim Demaille <akim@lrde.epita.fr>2014-02-03 15:27:03 +0100
commitb702ec61abb99069914da30e9010a7cae4bcf04e (patch)
tree96db04618f0394ef0b822588653a3cdeeac44638
parentab96bb245789d1c24a68d637d48ffab889be3152 (diff)
downloadbison-b702ec61abb99069914da30e9010a7cae4bcf04e.tar.gz
location: remove some ugly debugging code traces
* data/location.cc: here.
-rw-r--r--data/location.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/data/location.cc b/data/location.cc
index 4fea2599..20aa5800 100644
--- a/data/location.cc
+++ b/data/location.cc
@@ -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))