aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-04-15 05:34:41 +0630
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-04-15 05:34:41 +0630
commit940dd2021e2e82b067b7646ca257ec7d52729021 (patch)
tree3a4d4ea7c4f01f5daee4716f266d9550d57a054e
parent7a6275c0a1ff61216b0dc7f2f3a78e5e958b5ead (diff)
downloadovm-940dd2021e2e82b067b7646ca257ec7d52729021.tar.gz
ovm-940dd2021e2e82b067b7646ca257ec7d52729021.tar.bz2
ovm-940dd2021e2e82b067b7646ca257ec7d52729021.zip
Fix issue with use_blocks not being preprocessed
-rw-r--r--asm/preprocesser.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/asm/preprocesser.cpp b/asm/preprocesser.cpp
index 0976396..027212a 100644
--- a/asm/preprocesser.cpp
+++ b/asm/preprocesser.cpp
@@ -36,7 +36,8 @@ pair<vector<token_t *>, pp_err_t> preprocesser(vector<token_t *> &tokens)
return ERR(pperr);
vector<token_t *> const_block_tokens;
- std::tie(const_block_tokens, pperr) = preprocess_const_blocks(tokens);
+ std::tie(const_block_tokens, pperr) =
+ preprocess_const_blocks(use_block_tokens);
if (pperr.type != pp_err_type_t::OK)
{
VCLEAR(tokens);