GNU bug report logs - #6976
typo in antlr-font-lock-additional-keywords

Previous Next

Package: emacs;

Reported by: Masatake YAMATO <yamato <at> redhat.com>

Date: Fri, 3 Sep 2010 11:54:02 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Masatake YAMATO <yamato <at> redhat.com>
To: bug-gnu-emacs <at> gnu.org
Subject: typo in antlr-font-lock-additional-keywords
Date: Fri, 03 Sep 2010 20:54:59 +0900 (JST)
Look at `antlr-font-lock-additional-keywords'.
It seems unbound symbol `type-face' is refereed.
I don't know antlr but I guess it should be 
`font-lock-type-face'.


=== modified file 'lisp/progmodes/antlr-mode.el'
*** lisp/progmodes/antlr-mode.el	2010-08-29 16:17:13 +0000
--- lisp/progmodes/antlr-mode.el	2010-09-03 11:46:58 +0000
***************
*** 951,957 ****
        (3 antlr-keyword-face)
        (4 (if (member (match-string 4) '("Lexer" "Parser" "TreeParser"))
  	     antlr-keyword-face
! 	   type-face)))
       (,(lambda (limit)
  	 (antlr-re-search-forward
  	  "\\<\\(header\\|options\\|tokens\\|exception\\|catch\\|returns\\)\\>"
--- 951,957 ----
        (3 antlr-keyword-face)
        (4 (if (member (match-string 4) '("Lexer" "Parser" "TreeParser"))
  	     antlr-keyword-face
! 	   font-lock-type-face)))
       (,(lambda (limit)
  	 (antlr-re-search-forward
  	  "\\<\\(header\\|options\\|tokens\\|exception\\|catch\\|returns\\)\\>"





This bug report was last modified 14 years and 260 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.