aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/compile-rule.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-02-05 14:49:59 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-02-05 14:49:59 +0200
commit1d738c03d8cd7eae151f9e4ba4fded986373e6bb (patch)
tree742aac0c7ad86c66fb6c22ed63042383425d6425 /build2/cc/compile-rule.cxx
parent36ec90018e1a6337d23fc5286ed926c2134bde1f (diff)
Improve /showIncludes parsing diagnostics
Diffstat (limited to 'build2/cc/compile-rule.cxx')
-rw-r--r--build2/cc/compile-rule.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/build2/cc/compile-rule.cxx b/build2/cc/compile-rule.cxx
index df84547..e77ef08 100644
--- a/build2/cc/compile-rule.cxx
+++ b/build2/cc/compile-rule.cxx
@@ -1369,7 +1369,8 @@ namespace build2
}
if (p == string::npos)
- fail << "unable to parse /showIncludes include note line";
+ fail << "unable to parse /showIncludes include note line '"
+ << l << "'";
return string (l, p);
}
@@ -1391,7 +1392,8 @@ namespace build2
}
}
- fail << "unable to parse /showIncludes include error line" << endf;
+ fail << "unable to parse /showIncludes include error line '"
+ << l << "'" << endf;
}
else
{