Fixed longstanding bugs and cleaned up code

This commit is contained in:
Samuel D. Crow
2022-06-28 21:10:15 -05:00
parent bf70fd087b
commit 6a3c37b02c
4 changed files with 49 additions and 10 deletions

View File

@@ -100,7 +100,7 @@ void label::generateCondJump(expression *e)
if (o->getType()==T_INT||o->getType()==T_INTVAR)
{
output_cpp<< "if(" << o->boxName()
<< "!=0)state=" << this->getID() << ";\nbreak;\n";
<< "!=0){state=" << this->getID() << ";break;}\n";
o->dispose();
delete e;
return;