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:
parent
3b02210713
commit
19cc9fc6bd
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue