1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-08-05 05:20:25 +00:00
QB64-PE/tests/compile_tests/qb64pe/prepass.output
Matthew Kilgore 90941fffa7 Replace CONSTs while we have the individual elements
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
2024-01-18 13:00:13 -05:00

21 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 )