Parser.hpp: Make sure the T typename propagates to the function call in the parse overload
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
This commit is contained in:
parent
ac4df6d090
commit
bd48d270be
|
@ -157,7 +157,7 @@ namespace Parser {
|
|||
return parseTree;
|
||||
}
|
||||
template<derived_from<ParseTree> T>
|
||||
inline T parse(const input_iterator auto& begin, const input_iterator auto& end) { return parse(span(begin, end)); }
|
||||
inline T parse(const input_iterator auto& begin, const input_iterator auto& end) { return parse<T>(span(begin, end)); }
|
||||
}
|
||||
|
||||
#endif //YERBACON_PARSER_HPP
|
Loading…
Reference in New Issue