mirror of
https://github.com/boostorg/spirit.git
synced 2026-01-19 04:42:11 +00:00
more simplifications.
This commit is contained in:
@@ -11,16 +11,11 @@
|
||||
|
||||
namespace client
|
||||
{
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// rule IDs
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
typedef x3::identity<class expression> expression_id;
|
||||
typedef x3::identity<class term> term_id;
|
||||
typedef x3::identity<class factor> factor_id;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Our error handler
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
typedef x3::identity<class expression> expression_id;
|
||||
|
||||
template <typename Iterator, typename Exception, typename Context>
|
||||
x3::error_handler_result
|
||||
on_error(
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace client
|
||||
{
|
||||
typedef std::string::const_iterator iterator_type;
|
||||
|
||||
typedef x3::ascii::space_type const skipper_type;
|
||||
typedef x3::ascii::space_type const skipper_type;
|
||||
typedef x3::any_parser<
|
||||
iterator_type, ast::expression
|
||||
, x3::context<x3::skipper_tag, skipper_type>>
|
||||
@@ -18,5 +18,5 @@ namespace client
|
||||
|
||||
template
|
||||
expression_type
|
||||
expression<iterator_type, skipper_type>();
|
||||
expression<iterator_type, skipper_type>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user