Commit 945acc7b authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(ccl-compile-if): Signal an error for invalid operator.

parent 846b6eba
2009-03-16 Kenichi Handa <handa@m17n.org>
* international/ccl.el (ccl-compile-if): Signal an error for
invalid operator.
2009-03-16 Chong Yidong <cyd@stupidchicken.com>
 
* minibuffer.el (read-file-name): Doc fix.
......
......@@ -505,6 +505,8 @@ If READ-FLAG is non-nil, this statement has the form
(op (get (nth 1 condition) 'ccl-arith-code))
(arg (nth 2 condition)))
(ccl-check-register rrr cmd)
(or (integerp op)
(error "CCL: invalid operator: %s" (nth 1 condition)))
(if (integerp arg)
(progn
(ccl-embed-code (if read-flag 'read-jump-cond-expr-const
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment