Line | |
---|
1 | /*============================================================================= |
---|
2 | Boost.Wave: A Standard compliant C++ preprocessor library |
---|
3 | http://www.boost.org/ |
---|
4 | |
---|
5 | Copyright (c) 2001-2005 Hartmut Kaiser. Distributed under the Boost |
---|
6 | Software License, Version 1.0. (See accompanying file |
---|
7 | LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
---|
8 | =============================================================================*/ |
---|
9 | |
---|
10 | #include <boost/wave/wave_config.hpp> |
---|
11 | |
---|
12 | #if BOOST_WAVE_SEPARATE_GRAMMAR_INSTANTIATION != 0 |
---|
13 | |
---|
14 | #include <string> |
---|
15 | |
---|
16 | #include <boost/wave/cpplexer/cpp_lex_token.hpp> |
---|
17 | #include <boost/wave/cpplexer/cpp_lex_iterator.hpp> |
---|
18 | |
---|
19 | #include <boost/wave/grammars/cpp_defined_grammar.hpp> |
---|
20 | |
---|
21 | /////////////////////////////////////////////////////////////////////////////// |
---|
22 | // |
---|
23 | // Explicit instantiation of the defined_grammar_gen template |
---|
24 | // with the correct token type. This instantiates the corresponding parse |
---|
25 | // function, which in turn instantiates the defined_grammar |
---|
26 | // object (see wave/grammars/cpp_defined_grammar.hpp) |
---|
27 | // |
---|
28 | /////////////////////////////////////////////////////////////////////////////// |
---|
29 | |
---|
30 | typedef boost::wave::cpplexer::lex_iterator< |
---|
31 | boost::wave::cpplexer::lex_token<> > |
---|
32 | lexer_type; |
---|
33 | template struct boost::wave::grammars::defined_grammar_gen<lexer_type>; |
---|
34 | |
---|
35 | #endif // #if BOOST_WAVE_SEPARATE_GRAMMAR_INSTANTIATION != 0 |
---|
36 | |
---|
Note: See
TracBrowser
for help on using the repository browser.