From 5d2b630ec6afbee381cdb987354aca11ceb65a67 Mon Sep 17 00:00:00 2001 From: Username404 Date: Sat, 16 Apr 2022 22:31:54 +0200 Subject: [PATCH] Remove a TODO comment in Parser.hpp Signed-off-by: Username404 --- src/headers/parsing/Parser.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/headers/parsing/Parser.hpp b/src/headers/parsing/Parser.hpp index f7aec91..65f1350 100644 --- a/src/headers/parsing/Parser.hpp +++ b/src/headers/parsing/Parser.hpp @@ -91,7 +91,7 @@ namespace Parser { } const unsigned increment = 2 + isFinalDefine; const auto beginning = lexed.begin() + i + increment; - const auto end = find_if(beginning, lexed.end(), [¤t](const tok& it){ // TODO Find another way of choosing the tokens to parse + const auto end = find_if(beginning, lexed.end(), [¤t](const tok& it){ return it.toktype == SEMICOLON || it.line != current.line; }); parseTree << Define(isFinalDefine, current.toktext, parse(beginning, end));