about summary refs log tree commit diff
path: root/src/libexpr
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-01-07T11·08+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-01-07T11·08+0100
commit6fec43ccb3ebaa979c95143ee49c857d22ac4abf (patch)
tree6b9f2cdae178574617772c56ba35eed1d4ca2843 /src/libexpr
parent4d5c9d85eab4b50bf865cf4e238a873cb8dd9301 (diff)
Remove quotes around filenames in position info
Diffstat (limited to 'src/libexpr')
-rw-r--r--src/libexpr/nixexpr.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/nixexpr.cc b/src/libexpr/nixexpr.cc
index 6945e4daed80..50997e096fd1 100644
--- a/src/libexpr/nixexpr.cc
+++ b/src/libexpr/nixexpr.cc
@@ -191,7 +191,7 @@ std::ostream & operator << (std::ostream & str, const Pos & pos)
     if (!pos)
         str << "undefined position";
     else
-        str << (format(ANSI_BOLD "%1%" ANSI_NORMAL ":%2%:%3%") % pos.file % pos.line % pos.column).str();
+        str << (format(ANSI_BOLD "%1%" ANSI_NORMAL ":%2%:%3%") % (string) pos.file % pos.line % pos.column).str();
     return str;
 }