Boost logo

Boost-Commit :

From: hartmut.kaiser_at_[hidden]
Date: 2008-06-26 00:01:39


Author: hkaiser
Date: 2008-06-26 00:01:39 EDT (Thu, 26 Jun 2008)
New Revision: 46699
URL: http://svn.boost.org/trac/boost/changeset/46699

Log:
Wave: fixed non-ascii characters in source files
Text files modified:
   branches/release/boost/wave/util/cpp_include_paths.hpp | 6 +++---
   branches/release/boost/wave/util/cpp_macromap.hpp | 4 ++--
   branches/release/boost/wave/util/macro_helpers.hpp | 6 +++---
   branches/release/libs/wave/test/testwave/testfiles/t_1_034.cpp | 2 ++
   branches/release/libs/wave/test/testwave/testfiles/t_1_035.cpp | 2 ++
   5 files changed, 12 insertions(+), 8 deletions(-)

Modified: branches/release/boost/wave/util/cpp_include_paths.hpp
==============================================================================
--- branches/release/boost/wave/util/cpp_include_paths.hpp (original)
+++ branches/release/boost/wave/util/cpp_include_paths.hpp 2008-06-26 00:01:39 EDT (Thu, 26 Jun 2008)
@@ -115,15 +115,15 @@
 //
 // Any directories specified with the 'add_include_path()' function before
 // the function 'set_sys_include_delimiter()' is called are searched only
-// for the case of '#include "file"' directives, they are not searched for
-// '#include <file>' directives. If additional directories are specified
+// for the case of '#include "file"' directives, they are not searched for
+// '#include <file>' directives. If additional directories are specified
 // with the 'add_include_path()' function after a call to the function
 // 'set_sys_include_delimiter()', these directories are searched for all
 // '#include' directives.
 //
 // In addition, a call to the function 'set_sys_include_delimiter()'
 // inhibits the use of the current directory as the first search directory
-// for '#include "file"' directives. Therefore, the current directory is
+// for '#include "file"' directives. Therefore, the current directory is
 // searched only if it is requested explicitly with a call to the function
 // 'add_include_path(".")'.
 //

Modified: branches/release/boost/wave/util/cpp_macromap.hpp
==============================================================================
--- branches/release/boost/wave/util/cpp_macromap.hpp (original)
+++ branches/release/boost/wave/util/cpp_macromap.hpp 2008-06-26 00:01:39 EDT (Thu, 26 Jun 2008)
@@ -762,7 +762,7 @@
 #if BOOST_WAVE_SUPPORT_VARIADICS_PLACEMARKERS != 0
                             if (boost::wave::need_variadics(ctx.get_language())) {
                             // store a placemarker as the argument
- argument->push_back(token_type(T_PLACEMARKER, "\xA7", // "§",
+ argument->push_back(token_type(T_PLACEMARKER, "\xA7",
                                     (*next).get_position()));
                                 ++count_arguments;
                             }
@@ -787,7 +787,7 @@
 #if BOOST_WAVE_SUPPORT_VARIADICS_PLACEMARKERS != 0
                     if (boost::wave::need_variadics(ctx.get_language())) {
                     // store a placemarker as the argument
- argument->push_back(token_type(T_PLACEMARKER, "\xA7", // "§",
+ argument->push_back(token_type(T_PLACEMARKER, "\xA7",
                             (*next).get_position()));
                         ++count_arguments;
                     }

Modified: branches/release/boost/wave/util/macro_helpers.hpp
==============================================================================
--- branches/release/boost/wave/util/macro_helpers.hpp (original)
+++ branches/release/boost/wave/util/macro_helpers.hpp 2008-06-26 00:01:39 EDT (Thu, 26 Jun 2008)
@@ -112,7 +112,7 @@
             if (IS_CATEGORY(*it, WhiteSpaceTokenType) || T_NEWLINE == id) {
                 if (!was_whitespace) {
                 // C++ standard 16.3.2.2 [cpp.stringize]
- // Each occurrence of white space between the argument’s
+ // Each occurrence of white space between the argument's
                 // preprocessing tokens becomes a single space character in the
                 // character string literal.
                     result += " ";
@@ -126,7 +126,7 @@
             }
             else
 #if BOOST_WAVE_SUPPORT_VARIADICS_PLACEMARKERS != 0
- if (T_PLACEMARKER != id)
+ if (T_PLACEMARKER != id)
 #endif
             {
             // now append this token to the string
@@ -169,7 +169,7 @@
                 if (IS_CATEGORY(*it, WhiteSpaceTokenType) || T_NEWLINE == id) {
                     if (!was_whitespace) {
                     // C++ standard 16.3.2.2 [cpp.stringize]
- // Each occurrence of white space between the argument’s
+ // Each occurrence of white space between the argument's
                     // preprocessing tokens becomes a single space character in the
                     // character string literal.
                         result += " ";

Modified: branches/release/libs/wave/test/testwave/testfiles/t_1_034.cpp
==============================================================================
--- branches/release/libs/wave/test/testwave/testfiles/t_1_034.cpp (original)
+++ branches/release/libs/wave/test/testwave/testfiles/t_1_034.cpp 2008-06-26 00:01:39 EDT (Thu, 26 Jun 2008)
@@ -35,3 +35,5 @@
 //H 00: t_1_034.cpp(21): STR(§), [t_1_034.cpp(16): STR(...)=#__VA_ARGS__]
 //H 02: ""
 //H 03: ""
+
+// boostinspect:noascii this file needs to contain non-ASCII characters

Modified: branches/release/libs/wave/test/testwave/testfiles/t_1_035.cpp
==============================================================================
--- branches/release/libs/wave/test/testwave/testfiles/t_1_035.cpp (original)
+++ branches/release/libs/wave/test/testwave/testfiles/t_1_035.cpp 2008-06-26 00:01:39 EDT (Thu, 26 Jun 2008)
@@ -45,3 +45,5 @@
 //H 00: t_1_035.cpp(24): PASTE2(1, §, §, 4), [t_1_035.cpp(15): PASTE2(a, b, c, d)=a##b##c##d]
 //H 02: 14
 //H 03: 14
+
+// boostinspect:noascii this file needs to contain non-ASCII characters


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