mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-20 07:54:46 +00:00
90941fffa7
This moves the CONST replacement up before we turn the elements into a single string. The advantage is that we don't have to worry about splitting the string properly to find the CONST names as the elements are already split for us.t
20 lines
741 B
Text
20 lines
741 B
Text
Test: ( 20 + 40 + ( 60 * 4 AND 50 + NOT 5 + 4 ) - 2 )
|
|
PrePass: ( 20 + 40 + ( 60 * 4 AND 50 + ( NOT 5 + 4 ) ) - 2 )
|
|
Test: ( 20 + 40% + 60000000&& + _RGB32 ( 20 , 50 , 60 ) + ( 60 * 4 AND 50 + NOT 5 + 4 ) - 2 )
|
|
PrePass: ( 20 + 40% + 60000000&& + _RGB32 ( 20 , 50 , 60 ) + ( 60 * 4 AND 50 + ( NOT 5 + 4 ) ) - 2 )
|
|
Test: 2 + NOT 5 + 2 * 6 ^ 3
|
|
PrePass: 2 + ( NOT 5 + 2 * 6 ^ 3 )
|
|
Test: 2 + - 2
|
|
PrePass: 2 + - 2
|
|
Test:
|
|
PrePass: ERROR - NULL string; nothing to evaluate
|
|
Test: ) (
|
|
PrePass: ERROR - Bad Parenthesis, too many )
|
|
Test: ( ( ) ) )
|
|
PrePass: ERROR - Bad Parenthesis, too many )
|
|
Test: ( ( ( ) )
|
|
PrePass: ERROR - Bad Parenthesis
|
|
Test: (
|
|
PrePass: ERROR - Bad Parenthesis
|
|
Test: )
|
|
PrePass: ERROR - Bad Parenthesis, too many )
|