mirror of
https://github.com/boostorg/wave.git
synced 2026-01-19 04:42:16 +00:00
Wave: fixed #5569: slex CONTLINE token works only for LF line endings
[SVN r72197]
This commit is contained in:
@@ -44,6 +44,7 @@ Boost V1.47.0
|
||||
- Fixed a problem in teh wave driver tool related to #pragma option(output).
|
||||
If wave was invoked in rapid succession this erroneously appended to an
|
||||
existing file instead of overwriting that file.
|
||||
- Fixed #5569: slex CONTLINE token works only for LF line endings
|
||||
|
||||
Boost V1.46.0
|
||||
- V2.2.0
|
||||
|
||||
@@ -382,7 +382,7 @@ lexer<IteratorT, PositionT>::init_data[INIT_DATA_SIZE] =
|
||||
#endif
|
||||
TOKEN_DATA(SPACE, "[ \t\v\f]+"),
|
||||
// TOKEN_DATA(SPACE2, "[\\v\\f]+"),
|
||||
TOKEN_DATA(CONTLINE, "\\" "\\n"),
|
||||
TOKEN_DATA(CONTLINE, Q("\\") "\n"),
|
||||
TOKEN_DATA(NEWLINE, NEWLINEDEF),
|
||||
TOKEN_DATA(POUND_POUND, "##"),
|
||||
TOKEN_DATA(POUND_POUND_ALT, Q("%:") Q("%:")),
|
||||
|
||||
@@ -92,7 +92,7 @@ public:
|
||||
|
||||
stream << std::setw(16)
|
||||
<< std::left << boost::wave::get_token_name(id) << " ("
|
||||
<< "#" << token_id(ID_FROM_TOKEN(*this))
|
||||
<< "#" << token_id(BASEID_FROM_TOKEN(*this))
|
||||
<< ") at " << get_position().get_file() << " ("
|
||||
<< std::setw(3) << std::right << get_position().get_line() << "/"
|
||||
<< std::setw(2) << std::right << get_position().get_column()
|
||||
|
||||
Reference in New Issue
Block a user