mirror of
https://github.com/NixOS/nix
synced 2025-06-25 19:01:16 +02:00
comments and cleanup
This commit is contained in:
parent
70bcb39d3f
commit
9159dfe3d8
9 changed files with 7 additions and 19 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue