mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-05 22:50:23 +00:00
Update qb64.bas
Fix critical regression in `FUNCTION fixoperationorder$()` Using UBound/LBound in an expression would cause issues with other functions.
This commit is contained in:
parent
81da1b9beb
commit
9f81ba1e1f
|
@ -19535,6 +19535,8 @@ FUNCTION fixoperationorder$ (savea$)
|
|||
|
||||
IF nextc = 40 OR uboundlbound <> 0 THEN '(
|
||||
|
||||
uboundlbound = 0
|
||||
|
||||
'function or array?
|
||||
IF id.arraytype <> 0 OR id.subfunc = 1 THEN
|
||||
'note: even if it's an array of UDTs, the bracketted index will follow immediately
|
||||
|
@ -19752,6 +19754,7 @@ FUNCTION fixoperationorder$ (savea$)
|
|||
END IF
|
||||
|
||||
IF c = 41 OR c = 125 THEN ')}
|
||||
uboundlbound = 0
|
||||
b = b - 1
|
||||
|
||||
IF b = 0 THEN
|
||||
|
|
Loading…
Reference in a new issue