;;; antlr-mode.el --- major mode for ANTLR grammar files
-;; Copyright (C) 1999-2001 Free Software Foundation, Inc.
+;; Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
;;
;; Author: Christoph.Wedler@sap.com
;; Keywords: languages
;; Version: 2.1
-;; X-URL: http://www.fmi.uni-passau.de/~wedler/antlr-mode/
+;; X-URL: http://antlr-mode.sf.net
;; This file is part of GNU Emacs.
;; Bug fixes, bug reports, improvements, and suggestions are strongly
;; appreciated. Please check the newest version first:
-;; http://www.fmi.uni-passau.de/~wedler/antlr-mode/changes.html
+;; http://antlr-mode.sf.net
;;; Installation:
"Major mode for ANTLR grammar files."
:group 'languages
:link '(emacs-commentary-link "antlr-mode.el")
- :link '(url-link "http://www.fmi.uni-passau.de/~wedler/antlr-mode/")
+ :link '(url-link "http://antlr-mode.sf.net")
:prefix "antlr-")
(defconst antlr-version "2.1"
(defvar antlr-font-lock-keyword-face 'antlr-font-lock-keyword-face)
(defface antlr-font-lock-keyword-face
- '((((class color) (background light)) (:foreground "black" :bold t)))
+ '((((class color) (background light)) (:foreground "black" :weight bold)))
"ANTLR keywords."
:group 'antlr)
(defvar antlr-font-lock-syntax-face 'antlr-font-lock-keyword-face)
(defface antlr-font-lock-syntax-face
- '((((class color) (background light)) (:foreground "black" :bold t)))
+ '((((class color) (background light)) (:foreground "black" :weight bold)))
"ANTLR syntax symbols like :, |, (, ), ...."
:group 'antlr)
(defvar antlr-font-lock-ruledef-face 'antlr-font-lock-ruledef-face)
(defface antlr-font-lock-ruledef-face
- '((((class color) (background light)) (:foreground "blue" :bold t)))
+ '((((class color) (background light)) (:foreground "blue" :weight bold)))
"ANTLR rule references (definition)."
:group 'antlr)
(defvar antlr-font-lock-tokendef-face 'antlr-font-lock-tokendef-face)
(defface antlr-font-lock-tokendef-face
- '((((class color) (background light)) (:foreground "blue" :bold t)))
+ '((((class color) (background light)) (:foreground "blue" :weight bold)))
"ANTLR token references (definition)."
:group 'antlr)
(defvar antlr-font-lock-literal-face 'antlr-font-lock-literal-face)
(defface antlr-font-lock-literal-face
- '((((class color) (background light)) (:foreground "brown4" :bold t)))
+ '((((class color) (background light)) (:foreground "brown4" :weight bold)))
"ANTLR special literal tokens.
It is used to highlight strings matched by the first regexp group of
`antlr-font-lock-literal-regexp'."