diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-01-07 12:08:10 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-01-07 12:08:10 +0100 |
commit | 6fec43ccb3ebaa979c95143ee49c857d22ac4abf (patch) | |
tree | 6b9f2cdae178574617772c56ba35eed1d4ca2843 /src/libexpr/nixexpr.cc | |
parent | 4d5c9d85eab4b50bf865cf4e238a873cb8dd9301 (diff) |
Remove quotes around filenames in position info
Diffstat (limited to 'src/libexpr/nixexpr.cc')
-rw-r--r-- | src/libexpr/nixexpr.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/nixexpr.cc b/src/libexpr/nixexpr.cc index 6945e4dae..50997e096 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; } |