Boost logo

Boost-Commit :

From: joel_at_[hidden]
Date: 2008-04-17 21:49:32


Author: djowel
Date: 2008-04-17 21:49:31 EDT (Thu, 17 Apr 2008)
New Revision: 44530
URL: http://svn.boost.org/trac/boost/changeset/44530

Log:
minor tweaks
Text files modified:
   trunk/libs/spirit/example/qi/actions.cpp | 17 ++++++++++-------
   1 files changed, 10 insertions(+), 7 deletions(-)

Modified: trunk/libs/spirit/example/qi/actions.cpp
==============================================================================
--- trunk/libs/spirit/example/qi/actions.cpp (original)
+++ trunk/libs/spirit/example/qi/actions.cpp 2008-04-17 21:49:31 EDT (Thu, 17 Apr 2008)
@@ -11,10 +11,10 @@
 #include <boost/bind.hpp>
 
 // Presented are various ways to attach semantic actions
-// * Using plain function pointers
-// * Using plain simple function objects
-// * Using plain boost.bind
-// * Using plain boost.lambda
+// * Using plain function pointer
+// * Using simple function object
+// * Using boost.bind
+// * Using boost.lambda
 
 using namespace boost::spirit;
 
@@ -35,12 +35,12 @@
 {
     char const *s1 = "{42}", *e1 = s1 + std::strlen(s1);
 
- { // example using plain functions
+ { // example using plain function
 
         qi::parse(s1, e1, '{' >> int_[&write] >> '}');
     }
 
- { // example using simple function objects
+ { // example using simple function object
 
         qi::parse(s1, e1, '{' >> int_[write_action()] >> '}');
     }
@@ -55,7 +55,10 @@
         using boost::lambda::_1;
         qi::parse(s1, e1, '{' >> int_[std::cout << _1 << '\n'] >> '}');
     }
-
+
     return 0;
 }
 
+
+
+


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