diff --git a/src/zscript/zcc_compile.cpp b/src/zscript/zcc_compile.cpp index 86f2d3ea2..385db01e3 100644 --- a/src/zscript/zcc_compile.cpp +++ b/src/zscript/zcc_compile.cpp @@ -352,6 +352,7 @@ ZCC_Expression *ZCCCompiler::IdentifyIdentifier(ZCC_ExprID *idnode) // Identifier didn't refer to anything good, so type error it. idnode->Type = TypeError; idnode->Operation = PEX_Nil; + idnode->NodeType = AST_Expression; return idnode; }