Boost logo

Boost-Commit :

From: marshall_at_[hidden]
Date: 2008-06-05 17:49:45


Author: marshall
Date: 2008-06-05 17:49:44 EDT (Thu, 05 Jun 2008)
New Revision: 46181
URL: http://svn.boost.org/trac/boost/changeset/46181

Log:
FF is a valid ascii char
Text files modified:
   trunk/tools/inspect/ascii_check.cpp | 4 +++-
   trunk/tools/inspect/build/Jamfile.v2 | 2 +-
   2 files changed, 4 insertions(+), 2 deletions(-)

Modified: trunk/tools/inspect/ascii_check.cpp
==============================================================================
--- trunk/tools/inspect/ascii_check.cpp (original)
+++ trunk/tools/inspect/ascii_check.cpp 2008-06-05 17:49:44 EDT (Thu, 05 Jun 2008)
@@ -6,6 +6,7 @@
 // Distributed under the Boost Software License, Version 1.0.
 // (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt)
+// √ -- this is a test.
 
 #include "ascii_check.hpp"
 #include <functional>
@@ -30,7 +31,8 @@
          if ( c >= 'a' && c <= 'z' ) return false;
          if ( c >= 'A' && c <= 'Z' ) return false;
          if ( c >= '0' && c <= '9' ) return false;
- if ( c == '\t' || c == '\n' || c == '\r' || c == '\v' ) return false;
+ // Horizontal/Vertical tab, newline, and form feed
+ if ( c == '\t' || c == '\n' || c == '\r' || c == '\v' || c == '\f' ) return false;
          return gPunct.find ( c ) == string::npos;
       }
    };

Modified: trunk/tools/inspect/build/Jamfile.v2
==============================================================================
--- trunk/tools/inspect/build/Jamfile.v2 (original)
+++ trunk/tools/inspect/build/Jamfile.v2 2008-06-05 17:49:44 EDT (Thu, 05 Jun 2008)
@@ -14,7 +14,7 @@
 
 exe inspect
     :
- inspect.cpp license_check.cpp link_check.cpp long_name_check.cpp tab_check.cpp ascii_check.cpp crlf_check.cpp unnamed_namespace_check.cpp
+ inspect.cpp license_check.cpp link_check.cpp long_name_check.cpp tab_check.cpp crlf_check.cpp unnamed_namespace_check.cpp ascii_check.cpp
     copyright_check.cpp minmax_check.cpp
     /boost//filesystem/<link>static
     /boost//regex/<link>static


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