]> git.eshelyaron.com Git - emacs.git/commitdiff
(c-font-lock-keywords-2): Added "restrict" keyword.
authorSimon Marshall <simon@gnu.org>
Mon, 15 Mar 1999 15:20:56 +0000 (15:20 +0000)
committerSimon Marshall <simon@gnu.org>
Mon, 15 Mar 1999 15:20:56 +0000 (15:20 +0000)
lisp/font-lock.el

index 7801a55d07ae57d6437d004698de1cca04981735..a473730b3a3772bb7639a2f117c4818b877a5fbf 100644 (file)
@@ -2243,7 +2243,9 @@ See also `c-font-lock-extra-types'.")
                        "switch" "while" "sizeof"
                        ;; Type related, but we don't do anything special.
                        "typedef" "extern" "auto" "register" "static"
-                       "volatile" "const") t)))
+                       "volatile" "const"
+                       ;; Dan Nicolaescu <done@gnu.org> says this is new.
+                       "restrict") t)))
        (c-type-specs
        (eval-when-compile
          (regexp-opt '("enum" "struct" "union") t)))