diff options
author | Jason Power <powerjg@cs.wisc.edu> | 2013-04-09 16:12:42 -0500 |
---|---|---|
committer | Jason Power <powerjg@cs.wisc.edu> | 2013-04-09 16:12:42 -0500 |
commit | 19cc9fc6bd4c725a37b3442a03fc7d874d160930 (patch) | |
tree | 9841ebf7aa22b352c4835d7b32c82f8f5f850a71 /src/mem | |
parent | 3b02210713a3b8f46750638003784115a738ec78 (diff) | |
download | gem5-19cc9fc6bd4c725a37b3442a03fc7d874d160930.tar.xz |
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 (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() |