unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* Invalid read syntax for compiled bool vector
@ 2004-04-19  7:41 Lars Brinkhoff
       [not found] ` <E1BFdNk-0003Ia-Oq@fencepost.gnu.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Lars Brinkhoff @ 2004-04-19  7:41 UTC (permalink / raw)


I run these forms (in the *scratch* buffer or with M-C-x) to create a
source file and byte-compile it:

  (with-temp-file "test.el"
    (princ `(defun foo ()
             ,(let ((vec (make-bool-vector 20 t)))
                (dolist (i '(11 13 16 18) vec)
                  (aset vec i nil))))
           (current-buffer)))
  (byte-compile-file "test.el")

When I load the compiled file:

  (load-file "test.elc")

I get this error:

  Invalid read syntax: "#&..."

The pattern in the last 12 elements of the bool vector is what
triggers the error.  The contents of the first 8 elements doesn't
seem to affect the result.

This happens in both GNU Emacs 21.3 and 20.7, running in Debian
GNU/Linux on a PowerPC.

-- 
Lars Brinkhoff,         Services for Unix, Linux, GCC, HTTP
Brinkhoff Consulting    http://www.brinkhoff.se/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-04-26  7:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-19  7:41 Invalid read syntax for compiled bool vector Lars Brinkhoff
     [not found] ` <E1BFdNk-0003Ia-Oq@fencepost.gnu.org>
2004-04-26  7:27   ` Lars Brinkhoff

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).