aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/nixexpr.cc
diff options
context:
space:
mode:
authorBen Burdette <bburdette@gmail.com>2020-06-30 16:31:55 -0600
committerBen Burdette <bburdette@gmail.com>2020-06-30 16:31:55 -0600
commit9159dfe3d8053e0c77d32893e45f8c527ba83076 (patch)
tree4ee1f8a3a1e4b1f7e98272971798fb542fe973a5 /src/libexpr/nixexpr.cc
parent70bcb39d3fe272164c122979ee36cf2f2ea8f084 (diff)
comments and cleanup
Diffstat (limited to 'src/libexpr/nixexpr.cc')
-rw-r--r--src/libexpr/nixexpr.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libexpr/nixexpr.cc b/src/libexpr/nixexpr.cc
index 2b22ef3b6..d5698011f 100644
--- a/src/libexpr/nixexpr.cc
+++ b/src/libexpr/nixexpr.cc
@@ -197,11 +197,11 @@ std::ostream & operator << (std::ostream & str, const Pos & pos)
if (!pos)
str << "undefined position";
else
- {
+ {
auto f = format(ANSI_BOLD "%1%" ANSI_NORMAL ":%2%:%3%");
- switch (pos.origin) {
+ switch (pos.origin) {
case foFile:
- f % (string) pos.file;
+ f % (string) pos.file;
break;
case foStdin:
case foString: