[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: string-match in unicode-2 (Re: Calc broken in Emacs unicode-2 branch

From: Juanma Barranquero
Subject: Re: string-match in unicode-2 (Re: Calc broken in Emacs unicode-2 branch)
Date: Thu, 15 Feb 2007 14:42:53 +0100

On 2/15/07, Kenichi Handa <address@hidden> wrote:

I've just installed a fix for emacs-unicode-2 branch.

The unicode-2 branch fails to compile.  I think the attached patch is
needed, but even with it, I'm getting this error:

In toplevel form:
ja-dic/ja-dic.el:46:1:Error: Args out of range: "ã??s æ??", 1663, 1663
make[2]: *** [ja-dic/ja-dic.elc] Error 1


Index: src/regex.c
RCS file: /sources/emacs/emacs/src/regex.c,v
retrieving revision
diff -u -2 -r1.186.4.20 regex.c
--- src/regex.c 15 Feb 2007 11:23:52 -0000
+++ src/regex.c 15 Feb 2007 12:22:50 -0000
@@ -312,5 +312,5 @@
# define CHAR_STRING(c, s) (*(s) = (c), 1)
# define STRING_CHAR_AND_LENGTH(p, s, actual_len) ((actual_len) = 1, *(p))
-# define RE_STRING_CHAR_AND_LENGTH(p, s, multibyte)
+# define RE_STRING_CHAR_AND_LENGTH(p, s, len, multibyte)
STRING_CHAR_AND_LENGTH ((p), (s), (len))
# define RE_CHAR_TO_MULTIBYTE(c) (c)
# define RE_CHAR_TO_UNIBYTE(c) (c)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]