| 1 | /*============================================================================= |
|---|---|
| 2 | Copyright (c) 2001-2011 Hartmut Kaiser |
| 3 | http://spirit.sourceforge.net/ |
| 4 | |
| 5 | Distributed under the Boost Software License, Version 1.0. (See accompanying |
| 6 | file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
| 7 | =============================================================================*/ |
| 8 | //[reference_lex_includes |
| 9 | #include <boost/spirit/include/lex.hpp> |
| 10 | #include <boost/phoenix/core.hpp> |
| 11 | #include <boost/phoenix/operator.hpp> |
| 12 | #include <iostream> |
| 13 | #include <string> |
| 14 | //] |
| 15 | |
| 16 | //[reference_lex_test |
| 17 | //] |
| 18 | |
| 19 | int main() |
| 20 | { |
| 21 | { |
| 22 | //[reference_lex_using_declarations_char |
| 23 | //] |
| 24 | |
| 25 | //[reference_lex_char |
| 26 | //] |
| 27 | } |
| 28 | |
| 29 | return 0; |
| 30 | } |
| 31 |
