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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user