1
0
Fork 0
mirror of https://github.com/suchmememanyskill/TegraExplorer.git synced 2024-11-26 13:52:06 +00:00

small fixes

This commit is contained in:
Such Meme, Many Skill 2020-04-01 19:43:37 +02:00
parent d0799e3cd1
commit 440a921980

View file

@ -107,12 +107,19 @@ int part_if(){
getfollowingchar('{'); getfollowingchar('{');
if (!condition)
skipbrackets();
return 0;
/*
if (condition) if (condition)
return 0; return 0;
else { else {
skipbrackets(); skipbrackets();
return 0; return 0;
} }
*/
} }
int part_Math(){ int part_Math(){
@ -130,7 +137,7 @@ int part_Math(){
case '*': case '*':
return left * right; return left * right;
case '/': case '/':
return left * right; return left / right;
} }
return -1; return -1;
} }