Boost logo

Boost-Commit :

From: hartmut.kaiser_at_[hidden]
Date: 2007-08-06 10:43:59


Author: hkaiser
Date: 2007-08-06 10:43:54 EDT (Mon, 06 Aug 2007)
New Revision: 38475
URL: http://svn.boost.org/trac/boost/changeset/38475

Log:
Wave: Fixed a minor issue in the real_positions example.
Text files modified:
   trunk/libs/wave/ChangeLog | 6 +++---
   trunk/libs/wave/samples/real_positions/correct_token_positions.hpp | 2 +-
   2 files changed, 4 insertions(+), 4 deletions(-)

Modified: trunk/libs/wave/ChangeLog
==============================================================================
--- trunk/libs/wave/ChangeLog (original)
+++ trunk/libs/wave/ChangeLog 2007-08-06 10:43:54 EDT (Mon, 06 Aug 2007)
@@ -136,10 +136,10 @@
         function like macro, the whole macro invocation (including all
         macro invocation parameters) are copied to the output without any
         further processing.
-- Changed the interpretation of the return value found_include_directive()
+- Changed the interpretation of the return value of the found_include_directive
   preprocessing hook: a return value of 'false' now processes the file
- to include normally and a return value of 'true' now skips the processing of
- the include file.
+ to be included normally and a return value of 'true' now skips the processing
+ of the include file directive (the file doesn't get included).
   This change was necessary to make the return values of the preprocessing
   hooks consistent. Now return 'false' generally means: normal execution and
   return 'true' generally means: skip execution of the corresponding

Modified: trunk/libs/wave/samples/real_positions/correct_token_positions.hpp
==============================================================================
--- trunk/libs/wave/samples/real_positions/correct_token_positions.hpp (original)
+++ trunk/libs/wave/samples/real_positions/correct_token_positions.hpp 2007-08-06 10:43:54 EDT (Mon, 06 Aug 2007)
@@ -48,7 +48,7 @@
 struct correct_token_position
 : public boost::wave::context_policies::eat_whitespace<Token>
 {
- correct_token_position(std::string filename)
+ correct_token_position(typename Token::string_type filename)
     : pos(filename) {}
     
     ///////////////////////////////////////////////////////////////////////////


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