summaryrefslogtreecommitdiff
path: root/lisp/progmodes/cc-awk.el
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2020-12-31 12:14:54 +0000
committerAlan Mackenzie <acm@muc.de>2020-12-31 12:18:56 +0000
commit2f8a7bcdc8c4b1ef0a5b46fb773fa7e058a20243 (patch)
treef4f792980fa2560336454ec37904e1c2443e24a7 /lisp/progmodes/cc-awk.el
parent57d97bb170e86c77dede5456ab8fd178c3a5bf61 (diff)
CC Mode. Fix AWK Mode fontification bug, remove some unused variables
* lisp/progmodes/cc-awk.el (awk-font-lock-keywords): Replace a hard use of c-preprocessor-face-name by an `eval' expression which evaluates it. * lisp/progmodes/cc-engine.el (c-in-knr-argdecl, c-laomib-put-cache) (c-laomib-fix-elt): Remove unused bound variables.
Diffstat (limited to 'lisp/progmodes/cc-awk.el')
-rw-r--r--lisp/progmodes/cc-awk.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/cc-awk.el b/lisp/progmodes/cc-awk.el
index 841c3a4bb6d..72a4b070490 100644
--- a/lisp/progmodes/cc-awk.el
+++ b/lisp/progmodes/cc-awk.el
@@ -1037,7 +1037,7 @@ std\\(err\\|in\\|out\\)\\|user\\)\\)\\>\
0 c-preprocessor-face-name))
;; Directives
- '("@\\(include\\|load\\|namespace\\)\\>" 0 c-preprocessor-face-name)
+ `(eval . '("@\\(include\\|load\\|namespace\\)\\>" 0 ,c-preprocessor-face-name))
;; gawk debugging keywords. (acm, 2002/7/21)
;; (Removed, 2003/6/6. These functions are now fontified as built-ins)