|
Boost-Commit : |
From: marshall_at_[hidden]
Date: 2008-05-05 23:44:29
Author: marshall
Date: 2008-05-05 23:44:29 EDT (Mon, 05 May 2008)
New Revision: 45164
URL: http://svn.boost.org/trac/boost/changeset/45164
Log:
Added a couple more legal chars to ascii-check
Text files modified:
trunk/tools/inspect/ascii_check.cpp | 6 ++++--
1 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-05-05 23:44:29 EDT (Mon, 05 May 2008)
@@ -15,9 +15,11 @@
namespace inspect
{
- static const string gPunct ( "_{}[]#()<>%:;.?*+-/Ë&|Ë!=,\\\"'" );
+ static const string gPunct ( "$_{}[]#()<>%:;.?*+-/Ë&|~!=,\\\"'@^`" );
- // Legal characters for a source file are defined in section 2.2 of the standard
+ // Legal characters for a source file are defined in section 2.2 of the standard
+ // I have added '@', '^', and '`' to the "legal" chars because they are commonly
+ // used in comments, and they are strictly ASCII.
struct non_ascii : public std::unary_function<char, bool> {
public:
non_ascii () {}
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