>>>> "Jan" == Jan Vroonhof
<vroonhof(a)math.ethz.ch> writes:
Jan> RCS file: /usr/CVSroot/XEmacs/xemacs-20/src/font-lock.c,v
Jan> retrieving revision 1.2
Jan> retrieving revision 1.3
Jan> diff -u -r1.2 -r1.3
Jan> --- font-lock.c 1997/09/03 03:39:36 1.2
Jan> +++ font-lock.c 1998/03/31 20:11:42 1.3
Jan> @@ -432,7 +432,7 @@
Jan> if (context_cache.needs_its_head_reexamined)
Jan> {
Jan> if (context_cache.depth == 0
Jan> - && context_cache.context == ccontext_none)
Jan> + && context_cache.context == context_none)
Jan> {
Jan> /* We've found an anchor spot.
Jan> The weird thing is, if it is this, why does it matter? Assuming enums
Jan> are assigned from 0 the difference is only syntactic.
This change was only for type correctness - it cannot possibly change
XEmacs' runtime behavior. Both values must be 0.
(gdb) p context_none+0
$2 = 0
(gdb) p ccontext_none+0
$3 = 0
However, just because I change code doesn't mean I understand it.
Someone else will have to do that.
Maybe context_cache.needs_its_head_reexamined needs its head reexamined.
Mqartin