|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r52712 - trunk/tools/inspect
From: daniel_james_at_[hidden]
Date: 2009-05-01 16:51:10
Author: danieljames
Date: 2009-05-01 16:51:10 EDT (Fri, 01 May 2009)
New Revision: 52712
URL: http://svn.boost.org/trac/boost/changeset/52712
Log:
Better inspect error for external content.
Text files modified:
trunk/tools/inspect/link_check.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Modified: trunk/tools/inspect/link_check.cpp
==============================================================================
--- trunk/tools/inspect/link_check.cpp (original)
+++ trunk/tools/inspect/link_check.cpp 2009-05-01 16:51:10 EDT (Fri, 01 May 2009)
@@ -169,7 +169,7 @@
// do_url ------------------------------------------------------------------//
void link_check::do_url( const string & url, const string & library_name,
- const path & source_path, bool no_link_errors, bool allow_external_links )
+ const path & source_path, bool no_link_errors, bool allow_external_content )
// precondition: source_path.is_complete()
{
if(!no_link_errors && url.empty()) {
@@ -208,11 +208,11 @@
//query(m[7]),
fragment(m[9]);
- // Check for external links
- if(!allow_external_links && (authority_matched || scheme_matched)) {
+ // Check for external content
+ if(!allow_external_content && (authority_matched || scheme_matched)) {
if(!no_link_errors) {
++m_invalid_errors;
- error( library_name, source_path, string(name()) + " invalid external link: " + decoded_url );
+ error( library_name, source_path, string(name()) + " external content: " + decoded_url );
}
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk