Commit 0f4a2bc6 authored by Ing. Jan Trávníček's avatar Ing. Jan Trávníček

simplify cli parser

parent a99fa9b6
This diff is collapsed.
......@@ -90,10 +90,10 @@ public:
template < class ... NonreservedTokens >
bool check_then_match_nonreserved_kw ( const std::string & kw, const NonreservedTokens & ... kws ) {
if ( ! check ( kw, kws ... ) )
if ( ! check_nonreserved_kw ( kw, kws ... ) )
return false;
match ( kw, kws ... );
match_nonreserved_kw ( kw, kws ... );
return true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment