Change a function to remove C++23 dependancy
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful

This commit is contained in:
2025-10-07 14:08:37 +03:00
committed by Emin Arslan
parent 0fc3ab2ea8
commit fddbd9b03b

View File

@@ -11,8 +11,9 @@ using namespace std;
Parser::Parser(Lexer l) : ts(l.collect()) {}
void Parser::feed(Lexer l) {
ts.append_range(l.collect());
void Parser::feed(Lexer lexer) {
auto l = lexer.collect();
ts.insert(ts.end(), l.begin(), l.end());
}
Token Parser::get_token() {