mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-11-24 05:53:12 +09:00
.
This commit is contained in:
1 parent
8750031c48
commit
f1ef8e74ec
1 file changed
+1
-7
@@ -317,13 +317,7 @@ function main.parse(expression)
|
|||||||
end
|
end
|
||||||
|
|
||||||
cursor = cursor + 1
|
cursor = cursor + 1
|
||||||
|
value = value + (character == '+' and 1 or -1) * parse_term()
|
||||||
if character == '+' then
|
|
||||||
value = value + parse_term()
|
|
||||||
|
|
||||||
else
|
|
||||||
value = value - parse_term()
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
return value
|
return value
|
||||||
|
|||||||
Reference in new issue
Block a user