Boost logo

Boost-Commit :

From: hartmut.kaiser_at_[hidden]
Date: 2008-04-27 14:09:29


Author: hkaiser
Date: 2008-04-27 14:09:29 EDT (Sun, 27 Apr 2008)
New Revision: 44820
URL: http://svn.boost.org/trac/boost/changeset/44820

Log:
Spirit.Lex: introduced workaround for Intel compilers <= V9.1
Text files modified:
   trunk/boost/spirit/home/support/detail/lexer/parser/tokeniser/num_token.hpp | 7 +++++++
   1 files changed, 7 insertions(+), 0 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-27 14:09:29 EDT (Sun, 27 Apr 2008)
@@ -6,6 +6,7 @@
 #ifndef BOOST_LEXER_NUM_TOKEN_HPP
 #define BOOST_LEXER_NUM_TOKEN_HPP
 
+#include <boost/config.hpp>
 #include "../../consts.hpp" // null_token
 #include "../../size_t.hpp"
 
@@ -123,9 +124,15 @@
 template<typename CharT>
 const char *basic_num_token<CharT>::_precedence_strings[END + 1] =
 {
+#if BOOST_INTEL_CXX_VERSION <= 910
   {"BEGIN"}, {"REGEX"}, {"OREXP"}, {"SEQUENCE"}, {"SUB"}, {"EXPRESSION"},
   {"REPEAT"}, {"DUPLICATE"}, {"|"}, {"CHARSET"}, {"MACRO"},
   {"("}, {")"}, {"?"}, {"*"}, {"+"}, {"{n[,[m]]}"}, {"END"}
+#else
+ "BEGIN", "REGEX", "OREXP", "SEQUENCE", "SUB", "EXPRESSION",
+ "REPEAT", "DUPLICATE", "|", "CHARSET", "MACRO",
+ "(", ")", "?", "*", "+", "{n[,[m]]}", "END"
+#endif
 };
 
 }


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