Skip to content

Commit

Permalink
Properly add intermediate nodes, fixes #218
Browse files Browse the repository at this point in the history
  • Loading branch information
d-frey committed Sep 28, 2020
1 parent 20663bc commit 4502fac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/tao/pegtl/contrib/parse_tree.hpp
Expand Up @@ -242,6 +242,8 @@ namespace TAO_PEGTL_NAMESPACE::parse_tree
struct make_control< Node, Selector, Control >::state_handler< Rule, false, false >
: remove_first_state< Control< Rule > >
{
static constexpr bool enable = true;

template< typename ParseInput, typename... States >
static void start( const ParseInput& /*unused*/, state< Node >& state, States&&... /*unused*/ )
{
Expand Down

0 comments on commit 4502fac

Please sign in to comment.