Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r66558 - trunk/libs/spirit/example/karma
From: hartmut.kaiser_at_[hidden]
Date: 2010-11-13 09:25:36


Author: hkaiser
Date: 2010-11-13 09:25:34 EST (Sat, 13 Nov 2010)
New Revision: 66558
URL: http://svn.boost.org/trac/boost/changeset/66558

Log:
Spirit: Fixing example (added missing escape sequence)
Text files modified:
   trunk/libs/spirit/example/karma/escaped_string.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/spirit/example/karma/escaped_string.cpp
==============================================================================
--- trunk/libs/spirit/example/karma/escaped_string.cpp (original)
+++ trunk/libs/spirit/example/karma/escaped_string.cpp 2010-11-13 09:25:34 EST (Sat, 13 Nov 2010)
@@ -21,7 +21,7 @@
           : escaped_string::base_type(esc_str)
         {
             esc_char.add('\a', "\\a")('\b', "\\b")('\f', "\\f")('\n', "\\n")
- ('\r', "\\r")('\t', "\\t")('\v', "\\v")
+ ('\r', "\\r")('\t', "\\t")('\v', "\\v")('\\', "\\\\")
                         ('\'', "\\\'")('\"', "\\\"")
                 ;
 


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