]> git.eshelyaron.com Git - emacs.git/commitdiff
Fontify `mkbool` as function in `awk-mode`
authorStefan Kangas <stefankangas@gmail.com>
Sun, 7 Jul 2024 01:50:35 +0000 (03:50 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sun, 7 Jul 2024 13:17:01 +0000 (15:17 +0200)
* lisp/progmodes/cc-awk.el (awk-font-lock-keywords):
Fontify 'mkbool' function, added in gawk version 5.2.
See Info node '(gawk) Boolean Functions'.

(cherry picked from commit 745eae00d4178906eda58c26d0d132fbd32b3ff7)

lisp/progmodes/cc-awk.el

index 4b8cb0eff470e48191c8eda5e76c62da4358f611..937a965d4ed699259fd01b6f2a648184f5b3cdcc 100644 (file)
@@ -1035,8 +1035,8 @@ std\\(err\\|in\\|out\\)\\|user\\)\\)\\>\
                  '("adump" "and" "asort" "asorti" "atan2" "bindtextdomain" "close"
                    "compl" "cos" "dcgettext" "dcngettext" "exp" "extension" "fflush"
                    "gensub" "gsub" "index" "int" "isarray" "length" "log" "lshift"
-                   "match" "mktime" "or" "patsplit" "print" "printf" "rand" "rshift"
-                   "sin" "split" "sprintf" "sqrt" "srand" "stopme"
+                   "match" "mkbool" "mktime" "or" "patsplit" "print" "printf" "rand"
+                   "rshift" "sin" "split" "sprintf" "sqrt" "srand" "stopme"
                    "strftime" "strtonum" "sub" "substr"  "system"
                    "systime" "tolower" "toupper" "typeof" "xor")
                  t)