diff options
Diffstat (limited to 'src/mem')
-rw-r--r-- | src/mem/slicc/ast/IfStatementAST.py | 2 |
1 files changed, 1 insertions, 1 deletions
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() |