id summary reporter owner description type status milestone component version severity resolution keywords cc 11327 boost::wave produces non-existent tokens Vyacheslav Andrejev Hartmut Kaiser "Consider the following program: {{{#!cpp #include #include #include #include using namespace boost::wave::cpplexer; int main(int argc, char* argv[]) { std::string str = ""int a\n\n;\n""; typedef lex_iterator > LexIterator; typedef boost::wave::context WaveContext; WaveContext ctx(str.cbegin(), str.cend()); for (auto tok : ctx) { std::cout << boost::wave::get_token_name(boost::wave::token_id(tok)) << '(' << tok.get_value() << ')' << std::endl; } return 0; } }}} It produces the following output: {{{ INT(int) SPACE( ) IDENTIFIER(a) NEWLINE( ) PP_LINE(#line) SPACE( ) INTLIT(3) SPACE( ) STRINGLIT("""") NEWLINE( ) SEMICOLON(;) NEWLINE( ) EOF() }}} There are no `PP_LINE(#line)`, `INTLIT(3)` and `STRINGLIT("""")` in the input." Bugs closed To Be Determined wave Boost 1.57.0 Problem invalid