comparison lisp/progmodes/antlr-mode.el @ 42453:f420ae2739cc

(various face definitions): Use :weight, not :bold.
author Richard M. Stallman <rms@gnu.org>
date Mon, 31 Dec 2001 20:34:50 +0000
parents 50adfc6e47b2
children 0aa467a4e4be
comparison
equal deleted inserted replaced
42452:0cfd64a10789 42453:f420ae2739cc
795 Do not change." 795 Do not change."
796 :group 'antlr) 796 :group 'antlr)
797 797
798 (defvar antlr-font-lock-keyword-face 'antlr-font-lock-keyword-face) 798 (defvar antlr-font-lock-keyword-face 'antlr-font-lock-keyword-face)
799 (defface antlr-font-lock-keyword-face 799 (defface antlr-font-lock-keyword-face
800 '((((class color) (background light)) (:foreground "black" :bold t))) 800 '((((class color) (background light)) (:foreground "black" :weight bold)))
801 "ANTLR keywords." 801 "ANTLR keywords."
802 :group 'antlr) 802 :group 'antlr)
803 803
804 (defvar antlr-font-lock-syntax-face 'antlr-font-lock-keyword-face) 804 (defvar antlr-font-lock-syntax-face 'antlr-font-lock-keyword-face)
805 (defface antlr-font-lock-syntax-face 805 (defface antlr-font-lock-syntax-face
806 '((((class color) (background light)) (:foreground "black" :bold t))) 806 '((((class color) (background light)) (:foreground "black" :weight bold)))
807 "ANTLR syntax symbols like :, |, (, ), ...." 807 "ANTLR syntax symbols like :, |, (, ), ...."
808 :group 'antlr) 808 :group 'antlr)
809 809
810 (defvar antlr-font-lock-ruledef-face 'antlr-font-lock-ruledef-face) 810 (defvar antlr-font-lock-ruledef-face 'antlr-font-lock-ruledef-face)
811 (defface antlr-font-lock-ruledef-face 811 (defface antlr-font-lock-ruledef-face
812 '((((class color) (background light)) (:foreground "blue" :bold t))) 812 '((((class color) (background light)) (:foreground "blue" :weight bold)))
813 "ANTLR rule references (definition)." 813 "ANTLR rule references (definition)."
814 :group 'antlr) 814 :group 'antlr)
815 815
816 (defvar antlr-font-lock-tokendef-face 'antlr-font-lock-tokendef-face) 816 (defvar antlr-font-lock-tokendef-face 'antlr-font-lock-tokendef-face)
817 (defface antlr-font-lock-tokendef-face 817 (defface antlr-font-lock-tokendef-face
818 '((((class color) (background light)) (:foreground "blue" :bold t))) 818 '((((class color) (background light)) (:foreground "blue" :weight bold)))
819 "ANTLR token references (definition)." 819 "ANTLR token references (definition)."
820 :group 'antlr) 820 :group 'antlr)
821 821
822 (defvar antlr-font-lock-ruleref-face 'antlr-font-lock-ruleref-face) 822 (defvar antlr-font-lock-ruleref-face 'antlr-font-lock-ruleref-face)
823 (defface antlr-font-lock-ruleref-face 823 (defface antlr-font-lock-ruleref-face
831 "ANTLR token references (usage)." 831 "ANTLR token references (usage)."
832 :group 'antlr) 832 :group 'antlr)
833 833
834 (defvar antlr-font-lock-literal-face 'antlr-font-lock-literal-face) 834 (defvar antlr-font-lock-literal-face 'antlr-font-lock-literal-face)
835 (defface antlr-font-lock-literal-face 835 (defface antlr-font-lock-literal-face
836 '((((class color) (background light)) (:foreground "brown4" :bold t))) 836 '((((class color) (background light)) (:foreground "brown4" :weight bold)))
837 "ANTLR special literal tokens. 837 "ANTLR special literal tokens.
838 It is used to highlight strings matched by the first regexp group of 838 It is used to highlight strings matched by the first regexp group of
839 `antlr-font-lock-literal-regexp'." 839 `antlr-font-lock-literal-regexp'."
840 :group 'antlr) 840 :group 'antlr)
841 841