GNU bug report logs -
#9448
24.0.50; Comments in Awk scripts not fontified with comment face
Previous Next
Reported by: Eli Zaretskii <eliz <at> gnu.org>
Date: Tue, 6 Sep 2011 04:32:02 UTC
Severity: normal
Found in version 24.0.50
Done: Alan Mackenzie <acm <at> muc.de>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Alan Mackenzie wrote:
> (defvar awk-mode-syntax-table)
>
> . This ought to prevent my solution above from working, but it
> doesn't. Glenn, I think you put this line in. Why? Would it be OK to
> take it out again?
A defvar with no initvalue just suppresses a byte-compiler warning about
said variable being undefined. It doesn't actually define the variable,
so I think that line should stay there, to stop the compiler complaining
about an undefined variable in
(set-syntax-table awk-mode-syntax-table)
(So by the way I think this means cc-bytecomp-defvar is no longer
needed. Also cc-bytecomp-defun can be replaced by declare-function.)
> Glenn, what on earth brought you to try deleting cc-fonts.elc? It seems
> a stroke of genius, but how did you come to consider it? :-)
I saw from the ChangeLog that cc-fonts was the most recent part of
cc-mode to be changed, so I tried reverting that commit. To make it take
effect, I deleted the old cc-fonts.elc rather than recompiling it.
This bug report was last modified 13 years and 338 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.