| 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_grammar.hpp> |
|---|
| 20 | |
|---|
| 21 | /////////////////////////////////////////////////////////////////////////////// |
|---|
| 22 | // |
|---|
| 23 | // Explicit instantiation of the cpp_grammar_gen template with the correct |
|---|
| 24 | // token type. This instantiates the corresponding pt_parse function, which |
|---|
| 25 | // in turn instantiates the cpp_grammar object |
|---|
| 26 | // (see wave/grammars/cpp_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::cpp_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.