Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r78358 - trunk/libs/spirit/test/lex
From: jamin.hanson_at_[hidden]
Date: 2012-05-06 10:49:11


Author: ben_hanson
Date: 2012-05-06 10:49:11 EDT (Sun, 06 May 2012)
New Revision: 78358
URL: http://svn.boost.org/trac/boost/changeset/78358

Log:
Whitespace should be + not *.
Text files modified:
   trunk/libs/spirit/test/lex/set_token_value.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/spirit/test/lex/set_token_value.cpp
==============================================================================
--- trunk/libs/spirit/test/lex/set_token_value.cpp (original)
+++ trunk/libs/spirit/test/lex/set_token_value.cpp 2012-05-06 10:49:11 EDT (Sun, 06 May 2012)
@@ -96,7 +96,7 @@
         using lex::_pass;
 
         // define tokens and associate them with the lexer
- whitespace = "^[ ]*";
+ whitespace = "^[ ]+";
         newline = '\n';
 
         this->self = whitespace[ handle_whitespace(indents) ];


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