diff --git a/src/mem/slicc/ast/IfStatementAST.py b/src/mem/slicc/ast/IfStatementAST.py index 0e023195c..3ad3d182d 100644 --- a/src/mem/slicc/ast/IfStatementAST.py +++ b/src/mem/slicc/ast/IfStatementAST.py @@ -48,7 +48,7 @@ class IfStatementAST(StatementAST): if cond_type != self.symtab.find("bool", Type): self.cond.error("Condition of if stmt must be bool, type was '%s'", - ctype) + cond_type) # Conditional code.indent()