chiark / gitweb /
el/dot-emacs.el (mdw-fontify-rust): Fix integer literal syntax.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 14 Feb 2019 13:09:05 +0000 (13:09 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 14 Feb 2019 13:09:05 +0000 (13:09 +0000)
You're not allowed to write `is' or `us' as suffixes.

el/dot-emacs.el

index f156ee8dd4e00cebf98207b795a1372f1070cc00..7c933f3569946ec2b57d564cbbf7d1460ef54c70 100644 (file)
@@ -2702,7 +2702,7 @@ (defun mdw-fontify-rust ()
                               "\\|" "0o[0-7_]+"
                               "\\|" "0b[01_]+"
                               "\\)"
-                              "\\([ui]\\(8\\|16\\|32\\|64\\|s\\|size\\)\\)?"
+                              "\\([ui]\\(8\\|16\\|32\\|64\\|size\\)\\)?"
                         "\\)\\_>")
                 '(0 mdw-number-face))