Create a new source in the IDE with two lines. Leave the first line blank and type "Debug #MAX_PATH" on the second line. Now, backspace away the 'h' and hit 'h' to put it back as lower-case, then use the up arrow to change lines.
The result for me is that the last character of #MAX_PATH turned orange, the color I have set for strings and numbers while the rest of the constant was the correct color.
4.02 - Last letter of constant highlights as string
- Rook Zimbabwe
- Addict
- Posts: 4326
- Joined: Tue Jan 02, 2007 8:16 pm
- Location: Cypress TX
- Contact:
That's not what my instructions said to do. Did you get the color bug when you changed to line one?
There's a lot of thinigs you can do to make it go away. This is a pretty obscure bug but it's still a bug all the same.
There's a lot of thinigs you can do to make it go away. This is a pretty obscure bug but it's still a bug all the same.
Last edited by Mistrel on Sun Jan 06, 2008 4:31 am, edited 1 time in total.
- Rook Zimbabwe
- Addict
- Posts: 4326
- Joined: Tue Jan 02, 2007 8:16 pm
- Location: Cypress TX
- Contact:
Confirmed here, and I think this has been around for a while.
EDIT - nope, it was a slightly different bug that I posted myself! http://www.purebasic.fr/english/viewtop ... syntax+bug (but this one appears to have been fixed)
EDIT - nope, it was a slightly different bug that I posted myself! http://www.purebasic.fr/english/viewtop ... syntax+bug (but this one appears to have been fixed)
Re: 4.02 - Last letter of constant highlights as string
> result for me is that the last character of #MAX_PATH turned orange
Confirmed here when following your steps.
Confirmed here when following your steps.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.