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
This commit is contained in:
Jason Power 2013-04-09 16:12:42 -05:00
parent 3b02210713
commit 19cc9fc6bd

View file

@ -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()