freezing hands
parent
ce7c1357e0
commit
83329f6736
|
@ -1,7 +1,7 @@
|
||||||
cmake_minimum_required(VERSION 3.20)
|
cmake_minimum_required(VERSION 3.20)
|
||||||
include(cmake/color.cmake)
|
include(cmake/color.cmake)
|
||||||
|
|
||||||
set(BLT_VERSION 0.17.0)
|
set(BLT_VERSION 0.17.1)
|
||||||
set(BLT_TEST_VERSION 0.0.1)
|
set(BLT_TEST_VERSION 0.0.1)
|
||||||
|
|
||||||
set(BLT_TARGET BLT)
|
set(BLT_TARGET BLT)
|
||||||
|
|
|
@ -324,6 +324,7 @@ namespace blt
|
||||||
{
|
{
|
||||||
return if_func();
|
return if_func();
|
||||||
}
|
}
|
||||||
|
BLT_TRACE(next.token);
|
||||||
return blt::unexpected(template_parser_failure_t::UNKNOWN_STATEMENT_ERROR);
|
return blt::unexpected(template_parser_failure_t::UNKNOWN_STATEMENT_ERROR);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -374,7 +375,7 @@ namespace blt
|
||||||
if (!engine.contains(next.token))
|
if (!engine.contains(next.token))
|
||||||
return blt::unexpected(template_parser_failure_t::SUBSTITUTION_NOT_FOUND);
|
return blt::unexpected(template_parser_failure_t::SUBSTITUTION_NOT_FOUND);
|
||||||
if (consumer.next().type == template_token_t::SEMI || consumer.next().type == template_token_t::ELSE ||
|
if (consumer.next().type == template_token_t::SEMI || consumer.next().type == template_token_t::ELSE ||
|
||||||
consumer.next().type == template_token_t::CURLY_CLOSE)
|
consumer.next().type == template_token_t::CURLY_CLOSE || consumer.next().type == template_token_t::PAR_CLOSE)
|
||||||
{
|
{
|
||||||
consumer.advance();
|
consumer.advance();
|
||||||
return engine.get(next.token);
|
return engine.get(next.token);
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 7ef2e733416953b222851f9a360d7fc72d068ee5
|
Subproject commit 10368163ab1f4367d2f0685b5928b1c973ebd1ec
|
Loading…
Reference in New Issue