Boost logo

Boost-Commit :

From: hartmut.kaiser_at_[hidden]
Date: 2008-04-28 09:33:16


Author: hkaiser
Date: 2008-04-28 09:33:15 EDT (Mon, 28 Apr 2008)
New Revision: 44847
URL: http://svn.boost.org/trac/boost/changeset/44847

Log:
Spirit.Lex: fixed workaround for Intel compilers <= V9.1
Text files modified:
   trunk/boost/spirit/home/support/detail/lexer/parser/tokeniser/num_token.hpp | 4 +++-
   1 files changed, 3 insertions(+), 1 deletions(-)

Modified: trunk/boost/spirit/home/support/detail/lexer/parser/tokeniser/num_token.hpp
==============================================================================
--- trunk/boost/spirit/home/support/detail/lexer/parser/tokeniser/num_token.hpp (original)
+++ trunk/boost/spirit/home/support/detail/lexer/parser/tokeniser/num_token.hpp 2008-04-28 09:33:15 EDT (Mon, 28 Apr 2008)
@@ -7,6 +7,8 @@
 #define BOOST_LEXER_NUM_TOKEN_HPP
 
 #include <boost/config.hpp>
+#include <boost/detail/workaround.hpp>
+
 #include "../../consts.hpp" // null_token
 #include "../../size_t.hpp"
 
@@ -124,7 +126,7 @@
 template<typename CharT>
 const char *basic_num_token<CharT>::_precedence_strings[END + 1] =
 {
-#if BOOST_INTEL_CXX_VERSION <= 910
+#if BOOST_WORKAROUND(BOOST_INTEL_CXX_VERSION, BOOST_TESTED_AT(910))
   {"BEGIN"}, {"REGEX"}, {"OREXP"}, {"SEQUENCE"}, {"SUB"}, {"EXPRESSION"},
   {"REPEAT"}, {"DUPLICATE"}, {"|"}, {"CHARSET"}, {"MACRO"},
   {"("}, {")"}, {"?"}, {"*"}, {"+"}, {"{n[,[m]]}"}, {"END"}


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