help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Strange read error


From: Dmitry Dzhus
Subject: Strange read error
Date: Wed, 30 Jul 2008 20:24:16 +0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

I wonder why attempting to byte-compile this code with CVS version of
GNU Emacs:

    (eval-when-compile
      (require 'cc-mode))

fails with the following error:

    In toplevel form:
    test.el:2:21:Error: Invalid read syntax: ")"

While rewriting file contents with the following:

    (eval-when-compile (require 'cc-mode))

writes compiled files just fine. Seems unbelievable.

Looks like this is something specific to `cc-mode` as requiring other
libs compiles ok.

Using GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.11) of
2008-07-30.

Not sure if this is really a bug, so posting to g.e.help in hope to get
some feedback from experienced Emacs hackers.
-- 
Happy Hacking.

http://sphinx.net.ru

reply via email to

[Prev in Thread] Current Thread [Next in Thread]