Ticket #9874: wave.2.patch
File wave.2.patch, 1.0 KB (added by , 9 years ago) |
---|
-
boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp
old new 202 202 impl::validate_literal(value, actline, scanner.column, filename); 203 203 break; 204 204 205 #if BOOST_WAVE_SUPPORT_INCLUDE_NEXT != 0206 205 case T_PP_HHEADER: 207 206 case T_PP_QHEADER: 208 207 case T_PP_INCLUDE: … … 211 210 value = string_type((char const *)scanner.tok, 212 211 scanner.cur-scanner.tok); 213 212 213 #if BOOST_WAVE_SUPPORT_INCLUDE_NEXT != 0 214 214 // Skip '#' and whitespace and see whether we find an 'include_next' here. 215 215 typename string_type::size_type start = value.find("include"); 216 216 if (value.compare(start, 12, "include_next", 12) == 0) 217 217 id = token_id(id | AltTokenType); 218 #endif 218 219 break; 219 220 } 220 #endif221 221 222 222 case T_LONGINTLIT: // supported in C++11, C99 and long_long mode 223 223 value = string_type((char const *)scanner.tok,