Skip to content

Commit

Permalink
Simplify.
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinH committed Apr 16, 2020
1 parent 484aa3f commit fdc98a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/tao/pegtl/contrib/analyze_traits.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ namespace TAO_PEGTL_NAMESPACE

template< typename Name, typename Head, typename... Rules >
struct analyze_traits< Name, internal::rematch< Head, Rules... > >
: analyze_traits< Name, typename sor< Head, seq< sor< opt< Rules >... >, any > >::rule_t > // TODO: Correct (enough)?
: analyze_traits< Name, typename sor< Head, seq< Rules..., any > >::rule_t > // TODO: Correct (enough)?
{};

template< typename Name, unsigned Cnt, typename... Rules >
Expand Down

0 comments on commit fdc98a1

Please sign in to comment.