|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r71014 - in branches/quickbook-dev/tools/quickbook: src test test/unit
From: dnljms_at_[hidden]
Date: 2011-04-05 16:06:13
Author: danieljames
Date: 2011-04-05 16:06:11 EDT (Tue, 05 Apr 2011)
New Revision: 71014
URL: http://svn.boost.org/trac/boost/changeset/71014
Log:
Quickbook: Detab
Text files modified:
branches/quickbook-dev/tools/quickbook/src/quickbook.hpp | 4 ++--
branches/quickbook-dev/tools/quickbook/src/utils.cpp | 8 +++-----
branches/quickbook-dev/tools/quickbook/src/utils.hpp | 4 ++--
branches/quickbook-dev/tools/quickbook/test/unit/symbols_tests.cpp | 4 ++--
branches/quickbook-dev/tools/quickbook/test/variablelist.quickbook | 10 +++++-----
5 files changed, 14 insertions(+), 16 deletions(-)
Modified: branches/quickbook-dev/tools/quickbook/src/quickbook.hpp
==============================================================================
--- branches/quickbook-dev/tools/quickbook/src/quickbook.hpp (original)
+++ branches/quickbook-dev/tools/quickbook/src/quickbook.hpp 2011-04-05 16:06:11 EDT (Tue, 05 Apr 2011)
@@ -30,8 +30,8 @@
extern std::vector<std::string> preset_defines;
void parse_file(fs::path const& filein_, actions& actor,
- value include_doc_id = value(),
- bool nested_file = false);
+ value include_doc_id = value(),
+ bool nested_file = false);
// Some initialisation methods
//
Modified: branches/quickbook-dev/tools/quickbook/src/utils.cpp
==============================================================================
--- branches/quickbook-dev/tools/quickbook/src/utils.cpp (original)
+++ branches/quickbook-dev/tools/quickbook/src/utils.cpp 2011-04-05 16:06:11 EDT (Tue, 05 Apr 2011)
@@ -195,8 +195,8 @@
std::string encoding = read_bom(begin, end, out);
if(encoding != "UTF-8" && encoding != "")
- throw load_error(encoding +
- " is not supported. Please use UTF-8.");
+ throw load_error(encoding +
+ " is not supported. Please use UTF-8.");
while(begin != end) {
if(*begin == '\r') {
@@ -220,7 +220,7 @@
fs::ifstream in(filename, std::ios_base::in);
if (!in)
- throw load_error("Could not open input file.");
+ throw load_error("Could not open input file.");
// Turn off white space skipping on the stream
in.unsetf(ios::skipws);
@@ -250,5 +250,3 @@
}
}}
-
-
Modified: branches/quickbook-dev/tools/quickbook/src/utils.hpp
==============================================================================
--- branches/quickbook-dev/tools/quickbook/src/utils.hpp (original)
+++ branches/quickbook-dev/tools/quickbook/src/utils.hpp 2011-04-05 16:06:11 EDT (Tue, 05 Apr 2011)
@@ -49,8 +49,8 @@
class load_error : public std::runtime_error
{
public:
- explicit load_error(std::string const& arg)
- : std::runtime_error(arg) {}
+ explicit load_error(std::string const& arg)
+ : std::runtime_error(arg) {}
};
void load(fs::path const& filename, std::string& storage);
Modified: branches/quickbook-dev/tools/quickbook/test/unit/symbols_tests.cpp
==============================================================================
--- branches/quickbook-dev/tools/quickbook/test/unit/symbols_tests.cpp (original)
+++ branches/quickbook-dev/tools/quickbook/test/unit/symbols_tests.cpp 2011-04-05 16:06:11 EDT (Tue, 05 Apr 2011)
@@ -356,8 +356,8 @@
static
void duplicate_add_tests()
{
- char const* foo1 = "foo";
- char const* foo2 = foo1 + 3;
+ char const* foo1 = "foo";
+ char const* foo2 = foo1 + 3;
nsymbols sym;
sym.add(foo1, foo2, 1);
Modified: branches/quickbook-dev/tools/quickbook/test/variablelist.quickbook
==============================================================================
--- branches/quickbook-dev/tools/quickbook/test/variablelist.quickbook (original)
+++ branches/quickbook-dev/tools/quickbook/test/variablelist.quickbook 2011-04-05 16:06:11 EDT (Tue, 05 Apr 2011)
@@ -23,9 +23,9 @@
[#id1]
[variablelist Variable List with anchors
- [
- [[#id2]a[#id3]]
- [[#id4]b[#id5]]
- ]
+ [
+ [[#id2]a[#id3]]
+ [[#id4]b[#id5]]
+ ]
]
-
+
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