changeset 195d92059654 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=195d92059654
description:
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
diffstat:
src/mem/slicc/ast/IfStatementAST.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r fa31189e1fb5 -r 195d92059654 src/mem/slicc/ast/IfStatementAST.py
--- a/src/mem/slicc/ast/IfStatementAST.py Sun Apr 07 20:31:15 2013 -0500
+++ b/src/mem/slicc/ast/IfStatementAST.py Tue Apr 09 16:12:42 2013 -0500
@@ -48,7 +48,7 @@
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()
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev