X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Ffont-lock.c;h=111bd0a5a31547bee617fa96d1ff0340d4eb1ea6;hb=98f1518a09e923a4f8b14b6a637cc283f02719bd;hp=6cd74d731efc5b89c252d112cb6846142ddc9991;hpb=59eec5f21669e81977b5b1fe9bf717cab49cf7fb;p=chise%2Fxemacs-chise.git- diff --git a/src/font-lock.c b/src/font-lock.c index 6cd74d7..111bd0a 100644 --- a/src/font-lock.c +++ b/src/font-lock.c @@ -1,6 +1,7 @@ /* Routines to compute the current syntactic context, for font-lock mode. Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc. Copyright (C) 1995 Sun Microsystems, Inc. + Copyright (C) 2001 MORIOKA Tomohiko This file is part of XEmacs. @@ -414,7 +415,11 @@ static void find_context (struct buffer *buf, Bufpos pt) { /* This function can GC */ +#ifdef UTF2000 + Lisp_Char_Table *mirrortab = XCHAR_TABLE (buf->syntax_table); +#else Lisp_Char_Table *mirrortab = XCHAR_TABLE (buf->mirror_syntax_table); +#endif Lisp_Object syntaxtab = buf->syntax_table; Emchar prev_c, c; Bufpos target = pt;