|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r62148 - in trunk/libs/wave/samples: advanced_hooks list_includes/build token_statistics/build
From: hartmut.kaiser_at_[hidden]
Date: 2010-05-22 12:06:03
Author: hkaiser
Date: 2010-05-22 12:06:00 EDT (Sat, 22 May 2010)
New Revision: 62148
URL: http://svn.boost.org/trac/boost/changeset/62148
Log:
Wave: applied a couple of fixes supplied by József Mihalicza
Text files modified:
trunk/libs/wave/samples/advanced_hooks/advanced_hooks.hpp | 2 +-
trunk/libs/wave/samples/list_includes/build/Jamfile.v2 | 2 +-
trunk/libs/wave/samples/token_statistics/build/Jamfile.v2 | 8 ++++----
3 files changed, 6 insertions(+), 6 deletions(-)
Modified: trunk/libs/wave/samples/advanced_hooks/advanced_hooks.hpp
==============================================================================
--- trunk/libs/wave/samples/advanced_hooks/advanced_hooks.hpp (original)
+++ trunk/libs/wave/samples/advanced_hooks/advanced_hooks.hpp 2010-05-22 12:06:00 EDT (Sat, 22 May 2010)
@@ -151,7 +151,7 @@
{
// prepend a comment at the beginning of all skipped lines
using namespace boost::wave;
- if (need_comment) {
+ if (need_comment && token_id(token) != T_SPACE) {
std::cout << "// ";
need_comment = false;
}
Modified: trunk/libs/wave/samples/list_includes/build/Jamfile.v2
==============================================================================
--- trunk/libs/wave/samples/list_includes/build/Jamfile.v2 (original)
+++ trunk/libs/wave/samples/list_includes/build/Jamfile.v2 2010-05-22 12:06:00 EDT (Sat, 22 May 2010)
@@ -9,7 +9,7 @@
# LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
SOURCES =
- ../list_includes.cpp
+ ../list_includes
../instantiate_cpp_exprgrammar
../instantiate_cpp_grammar
../instantiate_cpp_literalgrs
Modified: trunk/libs/wave/samples/token_statistics/build/Jamfile.v2
==============================================================================
--- trunk/libs/wave/samples/token_statistics/build/Jamfile.v2 (original)
+++ trunk/libs/wave/samples/token_statistics/build/Jamfile.v2 2010-05-22 12:06:00 EDT (Sat, 22 May 2010)
@@ -9,10 +9,10 @@
# LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
SOURCES =
- ../token_statistics.cpp
- ../instantiate_xlex_lexer.cpp
- ../instantiate_cpp_grammar.cpp
- ../instantiate_defined_grammar.cpp
+ ../token_statistics
+ ../instantiate_xlex_lexer
+ ../instantiate_cpp_grammar
+ ../instantiate_defined_grammar
;
exe token_statistics
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