Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r75108 - in trunk/libs/spirit: doc repository/doc test
From: joel_at_[hidden]
Date: 2011-10-24 21:01:35


Author: djowel
Date: 2011-10-24 21:01:33 EDT (Mon, 24 Oct 2011)
New Revision: 75108
URL: http://svn.boost.org/trac/boost/changeset/75108

Log:
Docs for the seek directive
Text files modified:
   trunk/libs/spirit/doc/what_s_new.qbk | 2 ++
   trunk/libs/spirit/repository/doc/spirit2_repository.qbk | 3 +++
   trunk/libs/spirit/test/Jamfile | 23 ++++++++++++-----------
   3 files changed, 17 insertions(+), 11 deletions(-)

Modified: trunk/libs/spirit/doc/what_s_new.qbk
==============================================================================
--- trunk/libs/spirit/doc/what_s_new.qbk (original)
+++ trunk/libs/spirit/doc/what_s_new.qbk 2011-10-24 21:01:33 EDT (Mon, 24 Oct 2011)
@@ -15,6 +15,8 @@
 
 * Integrated Vitaly Budovski's patch to add binary floating point parsers and
   generators.
+* Added the __qi__ directive __qi_seek__ enabling skipping over the input,
+ getting to the interested portion.
 
 [endsect]
 

Modified: trunk/libs/spirit/repository/doc/spirit2_repository.qbk
==============================================================================
--- trunk/libs/spirit/repository/doc/spirit2_repository.qbk (original)
+++ trunk/libs/spirit/repository/doc/spirit2_repository.qbk 2011-10-24 21:01:33 EDT (Mon, 24 Oct 2011)
@@ -44,6 +44,7 @@
 [def __qi_confix__ [link spirit_repository.qi_components.directives.confix `confix`]]
 [def __qi_keywords__ [link spirit_repository.qi_components.operators.keyword_list keyword_list]]
 [def __qi_keywords_list__ [link spirit_repository.qi_components.directives.kwd `kwd()[]`]]
+[def __qi_seek__ [link spirit_repository.qi_components.directives.seek `seek[]`]]
 
 [def __karma_subrule__ [link spirit_repository.karma_components.nonterminal.subrule `subrule`]]
 
@@ -104,6 +105,8 @@
 
 [include preface.qbk]
 
+[include what_s_new.qbk]
+
 [include qi.qbk]
 
 [include karma.qbk]

Modified: trunk/libs/spirit/test/Jamfile
==============================================================================
--- trunk/libs/spirit/test/Jamfile (original)
+++ trunk/libs/spirit/test/Jamfile 2011-10-24 21:01:33 EDT (Mon, 24 Oct 2011)
@@ -15,9 +15,9 @@
 
 ###############################################################################
 # new feature definition allowing to switch between Phoenix V2 and V3 tests
-feature.feature phoenix_v3
+feature.feature phoenix_v3
     : off on
- : composite propagated
+ : composite propagated
     ;
 
 feature.compose <phoenix_v3>on
@@ -33,10 +33,10 @@
     :
     :
     ;
-
+
 v2_tests = ;
 v3_tests = ;
-
+
 rule run ( sources + : args * : input-files * : requirements * : target-name ? : default-build * )
 {
     target-name ?= $(sources[1]:D=:S=) ;
@@ -57,7 +57,7 @@
     v2_tests += [ testing.compile-fail $(sources) : $(requirements) : $(target-name)-p2 ] ;
     v3_tests += [ testing.compile-fail $(sources) : $(requirements) <phoenix_v3>on : $(target-name)-p3 ] ;
 }
-
+
 ###############################################################################
 path-constant LEX_DIR : $(BOOST_ROOT)/libs/spirit/test/lex ;
 
@@ -281,13 +281,13 @@
      [ run lex/regression_basic_lexer.cpp : : : : lex_regression_basic_lexer ]
      [ run lex/regression_matlib_dynamic.cpp : : : : lex_regression_matlib_dynamic ]
      [ run lex/regression_matlib_generate.cpp : $(LEX_DIR)/matlib_static.h : : : lex_regression_matlib_generate ]
- [ run lex/regression_matlib_static.cpp : : :
+ [ run lex/regression_matlib_static.cpp : : :
        <phoenix_v3>on:<dependency>.//lex_regression_matlib_generate-p3
        <phoenix_v3>off:<dependency>.//lex_regression_matlib_generate-p2
        : lex_regression_matlib_static ]
      [ run lex/regression_matlib_generate_switch.cpp : $(LEX_DIR)/matlib_static_switch.h : : : lex_regression_matlib_generate_switch ]
- [ run lex/regression_matlib_switch.cpp : : :
- <phoenix_v3>on:<dependency>.//lex_regression_matlib_generate_switch-p3
+ [ run lex/regression_matlib_switch.cpp : : :
+ <phoenix_v3>on:<dependency>.//lex_regression_matlib_generate_switch-p3
        <phoenix_v3>off:<dependency>.//lex_regression_matlib_generate_switch-p2
          : lex_regression_matlib_switch ]
      [ run lex/regression_word_count.cpp : : : : lex_regression_word_count ]
@@ -329,8 +329,9 @@
 # while running the regerssion tests.
 #
 # If you want to avoid running tests for both Phoenix V2 and V3 by default
-# then simply uncomment the following 'explicit' command. If no target is
+# then simply uncomment the following 'explicit' command. If no target is
 # specified, only the V2 tests will be run.
-#
-# explicit test_using_phoenix_v2 test_using_phoenix_v3 ;
+#
+
+explicit test_using_phoenix_v2 test_using_phoenix_v3 ;
 


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