Commit 5d6cdff1 authored by Gregory Casamento's avatar Gregory Casamento
Browse files

Fix some code generation issues.

parent 687a581a
......@@ -252,6 +252,11 @@ NSString *tabulate(NSString *code)
}
}
- (NSString *)description
{
return [NSString stringWithFormat:@"%@ : %@",[super description],[self toCode]];
}
@end
// Literal expression...
......@@ -1461,7 +1466,7 @@ NSString *tabulate(NSString *code)
- (NSString *)toCode
{
return [NSString stringWithFormat:@"%@;",self.statement];
return [NSString stringWithFormat:@"%@;",[self.statement toCode]];
}
@end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment