commit
2ddf7dd938
1 changed files with 5 additions and 2 deletions
|
@ -185,6 +185,9 @@ def bcMain(com):
|
|||
com = com.replace("x", "*")
|
||||
com = com.replace("X", "*")
|
||||
|
||||
if (len(com) < 1):
|
||||
return reportErr(1, "这")
|
||||
|
||||
#省略乘号的支持
|
||||
for i in range(1, len(com)-1, 1):
|
||||
if (com[i] == '(' and (com[i-1].isdigit() or com[i-1] == '.' or com[i-1] == '%' or com[i-1] == ')')):
|
||||
|
|
Loading…
Reference in a new issue