mirror of
https://github.com/suchmememanyskill/TegraExplorer.git
synced 2024-11-26 13:52:06 +00:00
small fixes
This commit is contained in:
parent
d0799e3cd1
commit
440a921980
1 changed files with 8 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue