Remove a TODO comment in Parser.hpp
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
This commit is contained in:
parent
e9d7c27d4f
commit
5d2b630ec6
|
@ -91,7 +91,7 @@ namespace Parser {
|
||||||
}
|
}
|
||||||
const unsigned increment = 2 + isFinalDefine;
|
const unsigned increment = 2 + isFinalDefine;
|
||||||
const auto beginning = lexed.begin() + i + increment;
|
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;
|
return it.toktype == SEMICOLON || it.line != current.line;
|
||||||
});
|
});
|
||||||
parseTree << Define(isFinalDefine, current.toktext, parse(beginning, end));
|
parseTree << Define(isFinalDefine, current.toktext, parse(beginning, end));
|
||||||
|
|
Loading…
Reference in New Issue