GNU bug report logs -
#8751
24.0.50; CCL is broken
Previous Next
Reported by: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
Date: Sat, 28 May 2011 12:51:02 UTC
Severity: normal
Found in version 24.0.50
Done: Paul Eggert <eggert <at> cs.ucla.edu>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 8751 <at> debbugs.gnu.org (full text, mbox):
The problem may be that ccl-compiler produce negative integer as CCL
code (at latest, since Emacs21).
(ccl-compile
'(1 (loop
(read r0)
(write-repeat r0))))
-> [1 4 14 -506 22]
~~~~
But the document of ccl.c says "CCL code is a sequence of 28-bit
non-negative integers", and current ccl.c does not accept such
negative value. I don't know which whould be changed, ccl-compiler or
document and current ccl.c.
Kazuhiro Ito wrote:
>
> Below code raises error "Error in CCL program at 4th code" on trunk.
>
> (progn
> (define-ccl-program ccl-test
> '(1 (loop
> (read r0)
> (write-repeat r0))))
> (ccl-execute-on-string 'ccl-test (make-vector 9 0) "_"))
--
Kazuhiro Ito
This bug report was last modified 13 years and 358 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.