Boost logo

Boost-Commit :

From: hartmut.kaiser_at_[hidden]
Date: 2008-06-27 23:20:43


Author: hkaiser
Date: 2008-06-27 23:20:41 EDT (Fri, 27 Jun 2008)
New Revision: 46800
URL: http://svn.boost.org/trac/boost/changeset/46800

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

Modified: trunk/boost/wave/util/cpp_include_paths.hpp
==============================================================================
--- trunk/boost/wave/util/cpp_include_paths.hpp (original)
+++ trunk/boost/wave/util/cpp_include_paths.hpp 2008-06-27 23:20:41 EDT (Fri, 27 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: trunk/boost/wave/util/cpp_macromap.hpp
==============================================================================
--- trunk/boost/wave/util/cpp_macromap.hpp (original)
+++ trunk/boost/wave/util/cpp_macromap.hpp 2008-06-27 23:20:41 EDT (Fri, 27 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: trunk/boost/wave/util/macro_helpers.hpp
==============================================================================
--- trunk/boost/wave/util/macro_helpers.hpp (original)
+++ trunk/boost/wave/util/macro_helpers.hpp 2008-06-27 23:20:41 EDT (Fri, 27 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: trunk/libs/wave/test/testwave/testfiles/t_1_034.cpp
==============================================================================
--- trunk/libs/wave/test/testwave/testfiles/t_1_034.cpp (original)
+++ trunk/libs/wave/test/testwave/testfiles/t_1_034.cpp 2008-06-27 23:20:41 EDT (Fri, 27 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: trunk/libs/wave/test/testwave/testfiles/t_1_035.cpp
==============================================================================
--- trunk/libs/wave/test/testwave/testfiles/t_1_035.cpp (original)
+++ trunk/libs/wave/test/testwave/testfiles/t_1_035.cpp 2008-06-27 23:20:41 EDT (Fri, 27 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