| 1 | #include <boost/spirit/home/x3.hpp> |
|---|---|
| 2 | |
| 3 | namespace x3 = boost::spirit::x3; |
| 4 | |
| 5 | x3::rule<struct grammar_r, int> const grammar; |
| 6 | using grammar_type = decltype(grammar); |
| 7 | BOOST_SPIRIT_DECLARE(grammar_type) |
| 8 |
| 1 | #include <boost/spirit/home/x3.hpp> |
|---|---|
| 2 | |
| 3 | namespace x3 = boost::spirit::x3; |
| 4 | |
| 5 | x3::rule<struct grammar_r, int> const grammar; |
| 6 | using grammar_type = decltype(grammar); |
| 7 | BOOST_SPIRIT_DECLARE(grammar_type) |
| 8 |