|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r70870 - branches/quickbook-dev/tools/quickbook/src
From: dnljms_at_[hidden]
Date: 2011-04-02 13:44:43
Author: danieljames
Date: 2011-04-02 13:44:42 EDT (Sat, 02 Apr 2011)
New Revision: 70870
URL: http://svn.boost.org/trac/boost/changeset/70870
Log:
Quickbook: No need to store quickbook version, as it's ignored in included files.
Text files modified:
branches/quickbook-dev/tools/quickbook/src/actions.cpp | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
Modified: branches/quickbook-dev/tools/quickbook/src/actions.cpp
==============================================================================
--- branches/quickbook-dev/tools/quickbook/src/actions.cpp (original)
+++ branches/quickbook-dev/tools/quickbook/src/actions.cpp 2011-04-02 13:44:42 EDT (Sat, 02 Apr 2011)
@@ -1800,9 +1800,8 @@
actions.doc_id.swap(doc_id);
}
- // save the source mode and version info (only restored for 1.6+)
+ // save the source mode (only restored for 1.6+)
std::string source_mode = actions.source_mode;
- unsigned qbk_version_n_store = qbk_version_n;
// scope the macros
string_symbols macro = actions.macro;
@@ -1833,13 +1832,9 @@
actions.doc_id.swap(doc_id);
- if(qbk_version_n >= 106 || qbk_version_n_store >= 106)
- {
+ if(qbk_version_n >= 106)
actions.source_mode = source_mode;
- qbk_version_n = qbk_version_n_store;
- }
-
// restore the macros
actions.macro = macro;
actions.macro_change_depth = macro_change_depth;
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