Re: euphoria/colorize does not deal with nested long comments
- Posted by ArthurCrump May 15, 2014
- 1636 views
Executing the above code shows that nested comments work in Euphoria v4.0.5 using the colouring routines from v4.1.0 -
(after changing sizeof(C_POINTER) to 4).
So 4.0.5 has the bug, but 4.1.0 does not?
Having previewed, I see that it doesn't show the correct colours in the forum either!
Should this be a ticket?
Yes. In fact, we might have two tickets here: one on the openeuphoria.org product and one for the Euphoria product.
I am sorry, I should have installed v4.1, (or perhaps not mentioned that I had used v4.0.5).
I have been too lazy to install v4.1 yet.
I used the routines in syncolor.e (and the ones it called) from the v4.1 distribution because the routines in the v4.0.5 distribution do not appear to support last_multiline_token. (v4.0.5 also does not support sizeof, so I hacked it).
I am pretty sure that the bug is in tokenize.e in v4.1.
In any case the bug also shows up in the forum and I postulate that it is the same bug, not a different one.
I think it is time for me to install v4.1 properly and try again.
Arthur