Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53473 - trunk/libs/spirit/classic/example/fundamental/more_calculators
From: joel_at_[hidden]
Date: 2009-05-30 20:56:56


Author: djowel
Date: 2009-05-30 20:56:55 EDT (Sat, 30 May 2009)
New Revision: 53473
URL: http://svn.boost.org/trac/boost/changeset/53473

Log:
fix ticket #3087
Text files modified:
   trunk/libs/spirit/classic/example/fundamental/more_calculators/calc_with_variables.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/spirit/classic/example/fundamental/more_calculators/calc_with_variables.cpp
==============================================================================
--- trunk/libs/spirit/classic/example/fundamental/more_calculators/calc_with_variables.cpp (original)
+++ trunk/libs/spirit/classic/example/fundamental/more_calculators/calc_with_variables.cpp 2009-05-30 20:56:55 EDT (Sat, 30 May 2009)
@@ -192,7 +192,7 @@
                 ;
 
             declaration =
- "var" >> var_decl >> *(',' >> var_decl)
+ lexeme_d["var" >> space_p] >> var_decl >> *(',' >> var_decl)
                 ;
 
             statement =


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