Mercurial > emacs
comparison src/ccl.c @ 89522:c4f948b2b0da
(ccl_driver): Fix arg of CHARACTERP.
author | Dave Love <fx@gnu.org> |
---|---|
date | Wed, 17 Sep 2003 19:26:25 +0000 |
parents | 2f877ed80fa6 |
children | 7db58df4781a |
comparison
equal
deleted
inserted
replaced
89521:d422cab7935a | 89522:c4f948b2b0da |
---|---|
1251 op = hash_lookup (h, make_number (reg[RRR]), NULL); | 1251 op = hash_lookup (h, make_number (reg[RRR]), NULL); |
1252 if (op >= 0) | 1252 if (op >= 0) |
1253 { | 1253 { |
1254 Lisp_Object opl; | 1254 Lisp_Object opl; |
1255 opl = HASH_VALUE (h, op); | 1255 opl = HASH_VALUE (h, op); |
1256 if (! CHARACTERP (XINT (opl))) | 1256 if (! CHARACTERP (opl)) |
1257 CCL_INVALID_CMD; | 1257 CCL_INVALID_CMD; |
1258 reg[RRR] = charset_unicode; | 1258 reg[RRR] = charset_unicode; |
1259 reg[rrr] = op; | 1259 reg[rrr] = op; |
1260 reg[7] = 1; /* r7 true for success */ | 1260 reg[7] = 1; /* r7 true for success */ |
1261 } | 1261 } |