mirror of
https://github.com/suchmememanyskill/TegraExplorer.git
synced 2024-11-08 13:11:54 +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('{');
|
||||
|
||||
if (!condition)
|
||||
skipbrackets();
|
||||
|
||||
return 0;
|
||||
|
||||
/*
|
||||
if (condition)
|
||||
return 0;
|
||||
else {
|
||||
skipbrackets();
|
||||
return 0;
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
int part_Math(){
|
||||
|
@ -130,7 +137,7 @@ int part_Math(){
|
|||
case '*':
|
||||
return left * right;
|
||||
case '/':
|
||||
return left * right;
|
||||
return left / right;
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue