]> git.eshelyaron.com Git - emacs.git/commitdiff
(ccl-compile-expression): Don't generate
authorKenichi Handa <handa@m17n.org>
Wed, 15 Mar 2000 02:29:17 +0000 (02:29 +0000)
committerKenichi Handa <handa@m17n.org>
Wed, 15 Mar 2000 02:29:17 +0000 (02:29 +0000)
invalid self-assignment code.

lisp/international/ccl.el

index 142d86d6fdebe31d01f3e7ccbfbb5cbed636d97f..429e740ec100f93f1b32e06159ba713b3fba429b 100644 (file)
          (setq left 'r7)))
 
     ;; Now EXPR has the form (LEFT OP RIGHT).
-    (if (eq rrr left)
+    (if (and (eq rrr left)
+            (< op (length ccl-assign-arith-table)))
        ;; Compile this SET statement as `(RRR OP= RIGHT)'.
        (if (integerp right)
            (progn