Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r66412 - trunk/tools/build/v2/engine/src
From: ghost_at_[hidden]
Date: 2010-11-06 11:31:15


Author: vladimir_prus
Date: 2010-11-06 11:31:12 EDT (Sat, 06 Nov 2010)
New Revision: 66412
URL: http://svn.boost.org/trac/boost/changeset/66412

Log:
Handle \t escape sequence.

Patch from Alexey Nikitin.

Text files modified:
   trunk/tools/build/v2/engine/src/scan.c | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: trunk/tools/build/v2/engine/src/scan.c
==============================================================================
--- trunk/tools/build/v2/engine/src/scan.c (original)
+++ trunk/tools/build/v2/engine/src/scan.c 2010-11-06 11:31:12 EDT (Sat, 06 Nov 2010)
@@ -318,6 +318,8 @@
                     c = '\n';
                 else if (c == 'r')
                     c = '\r';
+ else if (c == 't')
+ c = '\t';
                 *b++ = c;
                 notkeyword = 1;
             }


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