|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r78357 - trunk/libs/spirit/test/lex
From: jamin.hanson_at_[hidden]
Date: 2012-05-06 10:48:30
Author: ben_hanson
Date: 2012-05-06 10:48:29 EDT (Sun, 06 May 2012)
New Revision: 78357
URL: http://svn.boost.org/trac/boost/changeset/78357
Log:
Whitespace should be + not *.
Text files modified:
trunk/libs/spirit/test/lex/lexertl5.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/libs/spirit/test/lex/lexertl5.cpp
==============================================================================
--- trunk/libs/spirit/test/lex/lexertl5.cpp (original)
+++ trunk/libs/spirit/test/lex/lexertl5.cpp 2012-05-06 10:48:29 EDT (Sun, 06 May 2012)
@@ -39,7 +39,7 @@
lex.self.add_pattern
("CCOMMENT", "\\/\\*[^*]*\\*+([^/*][^*]*\\*+)*\\/")
("CPPCOMMENT", "\\/\\/[^\\n\\r]*(\\n|\\r|\\r\\n)")
- ("WS", "[\\v\\f\\n\\r]*")
+ ("WS", "[\\v\\f\\n\\r]+")
;
token_def c_comment ("{CCOMMENT}", CCOMMENT);
@@ -71,7 +71,7 @@
lex.self.add_pattern
("CCOMMENT", "\\/\\*[^*]*\\*+([^/*][^*]*\\*+)*\\/")
("CPPCOMMENT", "\\/\\/[^\\n\\r]*(\\n|\\r|\\r\\n)")
- ("WS", "[\\v\\f\\n\\r]*")
+ ("WS", "[\\v\\f\\n\\r]+")
;
token_def c_comment ("{CCOMMENT}", CCOMMENT);
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