fbc is now updated to preserve the white space between the operators.
- Previously, '<' + '=', '<' + '>', '=' + '>', and '-' + '>' were joined together in to one token even if separated by whitespace.
- also don't skip whitespace between decimal point and digit. Previously, '.' + '0..9' floating point literals were allowed to be separated by whitespace
In my last post I gave an example of a change, and if that breaks any user code we should discuss. But I think should be ok since it is only related to the conversion to a string of text passed as argument to a macro. And other operators don't have this behaviour.
For example in both fbc 1.09 and fbc 1.10
Code: Select all
#define D( arg ) "*" & #arg & "*"
print D( 1 + 5 )
'' OUTPUT
'' fbc 1.09 : "* 1 + 5*"
'' fbc 1.10 : "* 1 + 5*"
sleep