diff options
Diffstat (limited to 'build2/context.cxx')
-rw-r--r-- | build2/context.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build2/context.cxx b/build2/context.cxx index 941f98a..6317476 100644 --- a/build2/context.cxx +++ b/build2/context.cxx @@ -406,6 +406,9 @@ namespace build2 string diag_relative (const path& p) { + if (p.string () == "-") + return "<stdin>"; + const path& b (*relative_base); if (p.absolute ()) |