Boost logo

Boost-Commit :

From: lists.drrngrvy_at_[hidden]
Date: 2007-10-24 01:46:56


Author: drrngrvy
Date: 2007-10-24 01:46:55 EDT (Wed, 24 Oct 2007)
New Revision: 40398
URL: http://svn.boost.org/trac/boost/changeset/40398

Log:
minifix
Text files modified:
   sandbox/boost_docs/branches/spirit_qbking/doc/Jamfile.v2 | 5 +++--
   sandbox/boost_docs/branches/spirit_qbking/doc/src/organisation.qbk | 2 +-
   sandbox/boost_docs/branches/spirit_qbking/doc/src/scanner.qbk | 11 +++++------
   sandbox/boost_docs/branches/spirit_qbking/doc/src/spirit.qbk | 9 ++++++---
   4 files changed, 15 insertions(+), 12 deletions(-)

Modified: sandbox/boost_docs/branches/spirit_qbking/doc/Jamfile.v2
==============================================================================
--- sandbox/boost_docs/branches/spirit_qbking/doc/Jamfile.v2 (original)
+++ sandbox/boost_docs/branches/spirit_qbking/doc/Jamfile.v2 2007-10-24 01:46:55 EDT (Wed, 24 Oct 2007)
@@ -5,7 +5,6 @@
     ../bin.v2
   ;
 
-#import boostbook ;
 import quickbook ;
 
 # generate the Boost.Book XML
@@ -14,6 +13,8 @@
 # build the HTML doc-tree from the XML
 boostbook standalone
   :
- spirit_xml
+ spirit_xml
+ :
+ <xsl:param>boost.root=../../../../
   ;
 

Modified: sandbox/boost_docs/branches/spirit_qbking/doc/src/organisation.qbk
==============================================================================
--- sandbox/boost_docs/branches/spirit_qbking/doc/src/organisation.qbk (original)
+++ sandbox/boost_docs/branches/spirit_qbking/doc/src/organisation.qbk 2007-10-24 01:46:55 EDT (Wed, 24 Oct 2007)
@@ -21,7 +21,7 @@
 The framework is highly modular and is organized in layers:
 
 [pre
- iterator actor
+ iterator actor
 
                               debug
 

Modified: sandbox/boost_docs/branches/spirit_qbking/doc/src/scanner.qbk
==============================================================================
--- sandbox/boost_docs/branches/spirit_qbking/doc/src/scanner.qbk (original)
+++ sandbox/boost_docs/branches/spirit_qbking/doc/src/scanner.qbk 2007-10-24 01:46:55 EDT (Wed, 24 Oct 2007)
@@ -144,12 +144,6 @@
 
 If we wish to work on the character level, the procedure is quite simple:
 
-[important
-[*The scanner position on an unsucessful match]
-
-On a successful match, the input is advanced accordingly. But what happens on an unsuccessful match? Be warned. It might be intuitive to think that the scanner position is reset to its initial position prior to parsing. No, the position is not reset. On an unsuccessful match, the position of the scanner is undefined! Usually, it is positioned at the farthest point where the error was found somewhere down the recursive descent. If this behavior is not desired, you may need to position the scanner yourself. The [link __example in the numerics chapter__] illustrates how the scanner position can be saved and later restored.
-]
-
 ``
     scanner<IteratorT> scan(first, last);
 
@@ -166,6 +160,11 @@
 
 Where `p` is the parser we want to use, and `first/`last` are the iterator pairs referring to the input. We just create a scanner given the iterators. The scanner type we will use here uses the default `scanner_policies<>`.
 
+[important [*The scanner position on an unsucessful match]
+
+On a successful match, the input is advanced accordingly. But what happens on an unsuccessful match? Be warned. It might be intuitive to think that the scanner position is reset to its initial position prior to parsing. No, the position is not reset. On an unsuccessful match, the position of the scanner is undefined! Usually, it is positioned at the farthest point where the error was found somewhere down the recursive descent. If this behavior is not desired, you may need to position the scanner yourself. The [link __example in the numerics chapter__] illustrates how the scanner position can be saved and later restored.
+]
+
 The situation is a bit more complex when we wish to work on the [*phrase level]:
 
 ``

Modified: sandbox/boost_docs/branches/spirit_qbking/doc/src/spirit.qbk
==============================================================================
--- sandbox/boost_docs/branches/spirit_qbking/doc/src/spirit.qbk (original)
+++ sandbox/boost_docs/branches/spirit_qbking/doc/src/spirit.qbk 2007-10-24 01:46:55 EDT (Wed, 24 Oct 2007)
@@ -17,11 +17,11 @@
 /]
         
 [article Spirit's User Guide
- [quickbook 1.5]
- [version 0.01]
+ [quickbook 1.4]
+ [version 2]
     [id boost.spirit]
     [dirname html]
- [copyright 1997-2002, 2007 Joel De Guzman, Darren Garvey]
+ [copyright 1997-2007 Joel De Guzman]
     [purpose Boost.Spirit Documentation]
     [authors [De Guzman, Joel],
              [Kaiser, Hartmut],
@@ -72,6 +72,8 @@
 [section:core [*Core]]
 
 Primitives
+[include primitives.qbk]
+
 Operators
 
 Numerics
@@ -216,6 +218,7 @@
 [include style.qbk]
 
 Techniques
+[include techniques.qbk]
 
 FAQ
 


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