Ticket #9874: wave.2.patch

File wave.2.patch, 1.0 KB (added by anonymous, 9 years ago)
  • boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp

    old new  
    202202            impl::validate_literal(value, actline, scanner.column, filename);
    203203        break;
    204204
    205 #if BOOST_WAVE_SUPPORT_INCLUDE_NEXT != 0
    206205    case T_PP_HHEADER:
    207206    case T_PP_QHEADER:
    208207    case T_PP_INCLUDE:
     
    211210          value = string_type((char const *)scanner.tok,
    212211              scanner.cur-scanner.tok);
    213212
     213#if BOOST_WAVE_SUPPORT_INCLUDE_NEXT != 0
    214214      // Skip '#' and whitespace and see whether we find an 'include_next' here.
    215215          typename string_type::size_type start = value.find("include");
    216216          if (value.compare(start, 12, "include_next", 12) == 0)
    217217              id = token_id(id | AltTokenType);
     218#endif
    218219          break;
    219220      }
    220 #endif
    221221
    222222    case T_LONGINTLIT:  // supported in C++11, C99 and long_long mode
    223223        value = string_type((char const *)scanner.tok,