Opened 7 years ago
Closed 5 years ago
#11540 closed Bugs (fixed)
static lexer compilation fail
Reported by: | Owned by: | Joel de Guzman | |
---|---|---|---|
Milestone: | To Be Determined | Component: | spirit |
Version: | Boost 1.59.0 | Severity: | Problem |
Keywords: | Cc: |
Description
in MSVC generated lexer produce error messages:
error C2001: newline in constant
error C2137: empty character constant
etc...
error occurs because missing escape character for a new line const
generate_static.hpp
os_ << " bol = (index == '\n') ? true : false;\n";
Attachments (1)
Change History (3)
by , 7 years ago
Attachment: | generate_static.hpp.patch added |
---|
comment:1 by , 5 years ago
comment:2 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in https://github.com/boostorg/spirit/pull/324