Fucking add else statement

This commit is contained in:
Mid
2025-08-14 18:22:31 +03:00
parent 5755e243a9
commit 5196026ed1
7 changed files with 115 additions and 46 deletions

View File

@@ -50,8 +50,7 @@ loop {
}
codePtr = codePtr + 1;
}
}
if(data[dataPtr] != 0) {
} else {
stckPtr = stckPtr + 1;
stck[stckPtr] = codePtr;
}
@@ -62,8 +61,7 @@ loop {
if(code[codePtr] == 93) {
if(data[dataPtr] == 0) {
stckPtr = stckPtr - 1;
}
if(data[dataPtr] != 0) {
} else {
codePtr = stck[stckPtr];
}
}
@@ -72,4 +70,4 @@ loop {
}
codePtr = codePtr + 1;
}
}

View File

@@ -2,4 +2,6 @@ u16 x: 5;
if(x != 0) {
x = 2;
} else {
x = 5;
}