Boost logo

Boost-Commit :

From: hartmut.kaiser_at_[hidden]
Date: 2008-04-30 16:42:12


Author: hkaiser
Date: 2008-04-30 16:42:11 EDT (Wed, 30 Apr 2008)
New Revision: 44952
URL: http://svn.boost.org/trac/boost/changeset/44952

Log:
Spirit.Lex: added #include <boost/config/warning_disable.hpp> to Lex examples
Text files modified:
   trunk/libs/spirit/example/lex/example1.cpp | 1 +
   trunk/libs/spirit/example/lex/example2.cpp | 1 +
   trunk/libs/spirit/example/lex/example3.cpp | 1 +
   trunk/libs/spirit/example/lex/example4.cpp | 1 +
   trunk/libs/spirit/example/lex/example5.cpp | 1 +
   trunk/libs/spirit/example/lex/example6.cpp | 1 +
   trunk/libs/spirit/example/lex/print_numbers.cpp | 1 +
   trunk/libs/spirit/example/lex/static_lexer/word_count_generate.cpp | 1 +
   trunk/libs/spirit/example/lex/static_lexer/word_count_static.cpp | 1 +
   trunk/libs/spirit/example/lex/strip_comments.cpp | 1 +
   trunk/libs/spirit/example/lex/strip_comments_lexer.cpp | 1 +
   trunk/libs/spirit/example/lex/word_count.cpp | 1 +
   trunk/libs/spirit/example/lex/word_count_functor.cpp | 1 +
   trunk/libs/spirit/example/lex/word_count_lexer.cpp | 1 +
   14 files changed, 14 insertions(+), 0 deletions(-)

Modified: trunk/libs/spirit/example/lex/example1.cpp
==============================================================================
--- trunk/libs/spirit/example/lex/example1.cpp (original)
+++ trunk/libs/spirit/example/lex/example1.cpp 2008-04-30 16:42:11 EDT (Wed, 30 Apr 2008)
@@ -20,6 +20,7 @@
 // Any number of simple sentences (optionally comma separated) inside a pair
 // of curly braces will be matched.
 
+#include <boost/config/warning_disable.hpp>
 #include <boost/spirit/include/qi.hpp>
 #include <boost/spirit/include/lex_lexer_lexertl.hpp>
 

Modified: trunk/libs/spirit/example/lex/example2.cpp
==============================================================================
--- trunk/libs/spirit/example/lex/example2.cpp (original)
+++ trunk/libs/spirit/example/lex/example2.cpp 2008-04-30 16:42:11 EDT (Wed, 30 Apr 2008)
@@ -20,6 +20,7 @@
 // #define BOOST_SPIRIT_DEBUG
 // #define BOOST_SPIRIT_LEXERTL_DEBUG
 
+#include <boost/config/warning_disable.hpp>
 #include <boost/spirit/include/qi.hpp>
 #include <boost/spirit/include/lex_lexer_lexertl.hpp>
 #include <boost/spirit/include/phoenix_operator.hpp>

Modified: trunk/libs/spirit/example/lex/example3.cpp
==============================================================================
--- trunk/libs/spirit/example/lex/example3.cpp (original)
+++ trunk/libs/spirit/example/lex/example3.cpp 2008-04-30 16:42:11 EDT (Wed, 30 Apr 2008)
@@ -22,6 +22,7 @@
 // #define BOOST_SPIRIT_LEXERTL_DEBUG
 // #define BOOST_SPIRIT_DEBUG
 
+#include <boost/config/warning_disable.hpp>
 #include <boost/spirit/include/qi.hpp>
 #include <boost/spirit/include/lex_lexer_lexertl.hpp>
 

Modified: trunk/libs/spirit/example/lex/example4.cpp
==============================================================================
--- trunk/libs/spirit/example/lex/example4.cpp (original)
+++ trunk/libs/spirit/example/lex/example4.cpp 2008-04-30 16:42:11 EDT (Wed, 30 Apr 2008)
@@ -22,6 +22,7 @@
 // assignment statements and if and while control structures. Look at the file
 // example4.input for an example.
 
+#include <boost/config/warning_disable.hpp>
 #include <boost/spirit/include/qi.hpp>
 #include <boost/spirit/include/lex_lexer_lexertl.hpp>
 #include <boost/spirit/include/phoenix_operator.hpp>

Modified: trunk/libs/spirit/example/lex/example5.cpp
==============================================================================
--- trunk/libs/spirit/example/lex/example5.cpp (original)
+++ trunk/libs/spirit/example/lex/example5.cpp 2008-04-30 16:42:11 EDT (Wed, 30 Apr 2008)
@@ -24,6 +24,7 @@
 // assignment statements and if and while control structures. Look at the file
 // example5.input for an example.
 
+#include <boost/config/warning_disable.hpp>
 #include <boost/spirit/include/qi.hpp>
 #include <boost/spirit/include/lex_lexer_lexertl.hpp>
 #include <boost/spirit/include/phoenix_operator.hpp>

Modified: trunk/libs/spirit/example/lex/example6.cpp
==============================================================================
--- trunk/libs/spirit/example/lex/example6.cpp (original)
+++ trunk/libs/spirit/example/lex/example6.cpp 2008-04-30 16:42:11 EDT (Wed, 30 Apr 2008)
@@ -26,6 +26,7 @@
 // is that we use the self.add() syntax to define tokens and to associate them
 // with the lexer.
 
+#include <boost/config/warning_disable.hpp>
 #include <boost/spirit/include/qi.hpp>
 #include <boost/spirit/include/lex_lexer_lexertl.hpp>
 #include <boost/spirit/include/phoenix_operator.hpp>

Modified: trunk/libs/spirit/example/lex/print_numbers.cpp
==============================================================================
--- trunk/libs/spirit/example/lex/print_numbers.cpp (original)
+++ trunk/libs/spirit/example/lex/print_numbers.cpp 2008-04-30 16:42:11 EDT (Wed, 30 Apr 2008)
@@ -19,6 +19,7 @@
 //
 // Its purpose is to print all the (integer) numbers found in a file
 
+#include <boost/config/warning_disable.hpp>
 #include <boost/spirit/include/qi.hpp>
 #include <boost/spirit/include/lex_lexer_lexertl.hpp>
 #include <boost/spirit/include/phoenix_operator.hpp>

Modified: trunk/libs/spirit/example/lex/static_lexer/word_count_generate.cpp
==============================================================================
--- trunk/libs/spirit/example/lex/static_lexer/word_count_generate.cpp (original)
+++ trunk/libs/spirit/example/lex/static_lexer/word_count_generate.cpp 2008-04-30 16:42:11 EDT (Wed, 30 Apr 2008)
@@ -13,6 +13,7 @@
 
 // #define BOOST_SPIRIT_LEXERTL_DEBUG
 
+#include <boost/config/warning_disable.hpp>
 #include <boost/spirit/include/lex_lexer_lexertl.hpp>
 #include <boost/spirit/home/lex/lexer/lexertl/lexertl_generate_static.hpp>
 

Modified: trunk/libs/spirit/example/lex/static_lexer/word_count_static.cpp
==============================================================================
--- trunk/libs/spirit/example/lex/static_lexer/word_count_static.cpp (original)
+++ trunk/libs/spirit/example/lex/static_lexer/word_count_static.cpp 2008-04-30 16:42:11 EDT (Wed, 30 Apr 2008)
@@ -14,6 +14,7 @@
 // #define BOOST_SPIRIT_LEXERTL_DEBUG
 #define BOOST_VARIANT_MINIMIZE_SIZE
 
+#include <boost/config/warning_disable.hpp>
 #include <boost/spirit/include/qi.hpp>
 //[wc_static_include
 #include <boost/spirit/include/lex_lexer_static_lexertl.hpp>

Modified: trunk/libs/spirit/example/lex/strip_comments.cpp
==============================================================================
--- trunk/libs/spirit/example/lex/strip_comments.cpp (original)
+++ trunk/libs/spirit/example/lex/strip_comments.cpp 2008-04-30 16:42:11 EDT (Wed, 30 Apr 2008)
@@ -33,6 +33,7 @@
 
 // #define BOOST_SPIRIT_LEXERTL_DEBUG
 
+#include <boost/config/warning_disable.hpp>
 #include <boost/spirit/include/qi.hpp>
 #include <boost/spirit/include/lex_lexer_lexertl.hpp>
 #include <boost/spirit/include/phoenix_operator.hpp>

Modified: trunk/libs/spirit/example/lex/strip_comments_lexer.cpp
==============================================================================
--- trunk/libs/spirit/example/lex/strip_comments_lexer.cpp (original)
+++ trunk/libs/spirit/example/lex/strip_comments_lexer.cpp 2008-04-30 16:42:11 EDT (Wed, 30 Apr 2008)
@@ -33,6 +33,7 @@
 
 // #define BOOST_SPIRIT_LEXERTL_DEBUG
 
+#include <boost/config/warning_disable.hpp>
 #include <boost/spirit/include/lex_lexer_lexertl.hpp>
 #include <boost/spirit/lex/lexer/lexer_actions.hpp>
 #include <boost/spirit/include/phoenix_operator.hpp>

Modified: trunk/libs/spirit/example/lex/word_count.cpp
==============================================================================
--- trunk/libs/spirit/example/lex/word_count.cpp (original)
+++ trunk/libs/spirit/example/lex/word_count.cpp 2008-04-30 16:42:11 EDT (Wed, 30 Apr 2008)
@@ -34,6 +34,7 @@
 // #define BOOST_SPIRIT_LEXERTL_DEBUG
 #define BOOST_VARIANT_MINIMIZE_SIZE
 
+#include <boost/config/warning_disable.hpp>
 //[wcp_includes
 #include <boost/spirit/include/qi.hpp>
 #include <boost/spirit/include/lex_lexer_lexertl.hpp>

Modified: trunk/libs/spirit/example/lex/word_count_functor.cpp
==============================================================================
--- trunk/libs/spirit/example/lex/word_count_functor.cpp (original)
+++ trunk/libs/spirit/example/lex/word_count_functor.cpp 2008-04-30 16:42:11 EDT (Wed, 30 Apr 2008)
@@ -49,6 +49,7 @@
 
 // #define BOOST_SPIRIT_LEXERTL_DEBUG
 
+#include <boost/config/warning_disable.hpp>
 //[wcf_includes
 #include <boost/spirit/include/lex_lexer_lexertl.hpp>
 #include <boost/bind.hpp>

Modified: trunk/libs/spirit/example/lex/word_count_lexer.cpp
==============================================================================
--- trunk/libs/spirit/example/lex/word_count_lexer.cpp (original)
+++ trunk/libs/spirit/example/lex/word_count_lexer.cpp 2008-04-30 16:42:11 EDT (Wed, 30 Apr 2008)
@@ -32,6 +32,7 @@
 
 // #define BOOST_SPIRIT_LEXERTL_DEBUG
 
+#include <boost/config/warning_disable.hpp>
 //[wcl_includes
 #include <boost/spirit/include/support_argument.hpp>
 #include <boost/spirit/include/lex_lexer_lexertl.hpp>


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