diff --git a/CMakeLists.txt b/CMakeLists.txt index e9b549a..1cd7d18 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.20) 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_TARGET BLT) diff --git a/include/blt/parse/templating.h b/include/blt/parse/templating.h index b90bf5d..ae6ade3 100644 --- a/include/blt/parse/templating.h +++ b/include/blt/parse/templating.h @@ -324,6 +324,7 @@ namespace blt { return if_func(); } + BLT_TRACE(next.token); return blt::unexpected(template_parser_failure_t::UNKNOWN_STATEMENT_ERROR); } @@ -374,7 +375,7 @@ namespace blt if (!engine.contains(next.token)) 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 || - 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(); return engine.get(next.token); diff --git a/libraries/parallel-hashmap b/libraries/parallel-hashmap index 7ef2e73..1036816 160000 --- a/libraries/parallel-hashmap +++ b/libraries/parallel-hashmap @@ -1 +1 @@ -Subproject commit 7ef2e733416953b222851f9a360d7fc72d068ee5 +Subproject commit 10368163ab1f4367d2f0685b5928b1c973ebd1ec