Polish up repository and other revisions

This commit is contained in:
Justine Tunney 2020-06-16 06:38:43 -07:00
parent d23bb6612e
commit 2e979c00c3
541 changed files with 626 additions and 590 deletions

View file

@ -145,11 +145,6 @@
;;
("^/.*$" . font-lock-comment-face)
;; Preprocessor Constants
;; TODO(jart): Why won't it work?? ;_;
(,(concat "\\b" (cosmo-regexpify cosmo-cpp-constants) "\\b") ;; regexp-opt
1 font-lock-constant-face)
;; Immediate Argument
;;
;; - Valid

View file

@ -690,7 +690,7 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Cosmopolitan Extended Language Keyword Definitions
(defun cosmo-keywords-hook ()
(defun cosmo-c-keywords-hook ()
(font-lock-add-keywords
nil `((,cosmo-c-keywords-regex . font-lock-keyword-face)
(,cosmo-c-builtins-regex . font-lock-builtin-face)
@ -698,7 +698,12 @@
(,cosmo-c-constants-regex . font-lock-constant-face)
(,cosmo-c-types-regex . font-lock-type-face))))
(add-hook 'c-mode-common-hook 'cosmo-keywords-hook)
(defun cosmo-asm-keywords-hook ()
(font-lock-add-keywords
nil `((,cosmo-cpp-constants-regex . font-lock-constant-face))))
(add-hook 'c-mode-common-hook 'cosmo-c-keywords-hook)
(add-hook 'asm-mode-hook 'cosmo-asm-keywords-hook)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;