mirror of
https://github.com/boostorg/quickbook.git
synced 2026-01-26 18:52:26 +00:00
Separate actions and state.
[SVN r59563]
This commit is contained in:
@@ -10,7 +10,8 @@
|
||||
|
||||
#include "doc_info.hpp"
|
||||
#include "grammars.hpp"
|
||||
#include "actions_class.hpp"
|
||||
#include "actions.hpp"
|
||||
#include "state.hpp"
|
||||
#include "parse_utils.hpp"
|
||||
#include <boost/spirit/include/qi_core.hpp>
|
||||
#include <boost/spirit/include/qi_uint.hpp>
|
||||
@@ -112,7 +113,7 @@ namespace quickbook
|
||||
| doc_last_revision [member_assign(&doc_info::doc_last_revision)]
|
||||
// This has to be set in actions so that source code in phrases use the
|
||||
// correct encoding.
|
||||
| doc_source_mode [ph::ref(actions.source_mode) = qi::_1]
|
||||
| doc_source_mode [ph::ref(actions.state_.source_mode) = qi::_1]
|
||||
)
|
||||
>> space >> ']' >> +qi::eol
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user