summaryrefslogtreecommitdiff
path: root/src/expand/mod.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/expand/mod.cpp')
-rw-r--r--src/expand/mod.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/expand/mod.cpp b/src/expand/mod.cpp
index 8060d104..962e49de 100644
--- a/src/expand/mod.cpp
+++ b/src/expand/mod.cpp
@@ -309,7 +309,9 @@ struct CExpandExpr:
{
SET_MODULE( (*ttl), mod );
// Reparse as expression / item
- auto newexpr = Parse_Expr0(*ttl);
+ bool add_silence_if_end = false;
+ auto newexpr = Parse_ExprBlockLine(*ttl, &add_silence_if_end);
+ // TODO: use add_silence_if_end - Applies if this node is the last node in the block.
// Then call visit on it again
DEBUG("--- Visiting new node");
this->visit(newexpr);