Ticket #1410: boost.wave.diff2

File boost.wave.diff2, 853 bytes (added by Jens Seidel <jensseidel@…>, 15 years ago)
Line 
1Index: wave/grammars/cpp_chlit_grammar.hpp
2===================================================================
3--- wave/grammars/cpp_chlit_grammar.hpp (Revision 41592)
4+++ wave/grammars/cpp_chlit_grammar.hpp (Arbeitskopie)
5@@ -302,7 +302,8 @@
6 boost::uint32_t result = 0;
7 typename TokenT::string_type const &token_val = token.get_value();
8 parse_info<typename TokenT::string_type::const_iterator> hit =
9- parse(token_val.begin(), token_val.end(), g[spirit_assign_actor(result)]);
10+ // error: there are no arguments to 'spirit_assign_actor' that depend on a template parameter, so a declaration of 'spirit_assign_actor' must be available
11+ parse(token_val.begin(), token_val.end(), g[chlit_grammar_gen<TokenT>::spirit_assign_actor(result)]);
12
13 if (!hit.hit) {
14 BOOST_WAVE_THROW(preprocess_exception, ill_formed_character_literal,