reference.cpp 778 B

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