diff --git a/src/headers/parsing/Parser.hpp b/src/headers/parsing/Parser.hpp index a42a2ff..fb9bc0a 100644 --- a/src/headers/parsing/Parser.hpp +++ b/src/headers/parsing/Parser.hpp @@ -13,7 +13,7 @@ namespace Parser { using namespace StandardComponents; using enum tok::type; unsigned int i = 0; - const auto nextAre = [&i, &lexed] T>(const initializer_list& nextValues) { + const auto nextAre = [&i, &lexed] T>(const initializer_list& nextValues) -> bool { unsigned int j = 1; for (const T& nextValue: nextValues) { if (!cmp_greater(lexed.size() - i, nextValues.size()) || lexed[i + j].toktype != nextValue) {