[Boost-bugs] [Boost C++ Libraries] #11540: static lexer compilation fail

Subject: [Boost-bugs] [Boost C++ Libraries] #11540: static lexer compilation fail
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-08-16 20:52:50


#11540: static lexer compilation fail
------------------------------+---------------------
 Reporter: gkorolev@… | Owner: djowel
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: spirit
  Version: Boost 1.59.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------
 in MSVC generated lexer produce error messages:

 error C2001: newline in constant[[br]]
 error C2137: empty character constant[[br]]
 etc...

 error occurs because missing escape character for a new line const

 generate_static.hpp
 {{{
 #!cpp
 os_ << " bol = (index == '\n') ? true : false;\n";
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11540>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:18 UTC