summaryrefslogtreecommitdiff
path: root/src/ast/expr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast/expr.cpp')
-rw-r--r--src/ast/expr.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/ast/expr.cpp b/src/ast/expr.cpp
index f42870f8..48e080d6 100644
--- a/src/ast/expr.cpp
+++ b/src/ast/expr.cpp
@@ -102,9 +102,15 @@ NODE(ExprNode_Block, {
NODE(ExprNode_Macro, {
s.item(m_name);
- //s.item(m_tokens);
+ s.item(m_ident);
+ s.item(m_tokens);
},{
- os << m_name << "!(" << ")";
+ os << m_name << "!";
+ if( m_ident.size() > 0 )
+ {
+ os << " " << m_ident << " ";
+ }
+ os << "(" << ")";
})
void operator%(::Serialiser& s, const ExprNode_Flow::Type t) {