From 19cc9fc6bd4c725a37b3442a03fc7d874d160930 Mon Sep 17 00:00:00 2001 From: Jason Power Date: Tue, 9 Apr 2013 16:12:42 -0500 Subject: [PATCH] Ruby: Fix typo in Slicc if-statement AST error The error in the SLICC code was hidden by the python error in SLICC parser before this patch --- src/mem/slicc/ast/IfStatementAST.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.30.2