Fixes Issue #6.

This commit is contained in:
Jack Morrison 2015-12-13 20:20:51 -07:00
parent 2e769491da
commit 8196589886

View File

@ -277,12 +277,11 @@ Each list item should be a regexp matching a single identifier."
(c-lang-const c-matchers-3 cuda) (c-lang-const c-matchers-3 cuda)
"Accurate normal highlighting for CUDA mode.") "Accurate normal highlighting for CUDA mode.")
(defvar cuda-font-lock-keywords ;;; Not used yet. Still figuring out cc-mode.
(append cuda-font-lock-keywords-3 (setq cuda-builtins-regexp (regexp-opt cuda-builtins 'symbols))
(list (setq cuda-builtins-regexp nil)
(list
(regexp-opt cuda-builtins 'symbols) (defvar cuda-font-lock-keywords cuda-font-lock-keywords-3
(0 'font-lock-builtin-face))))
"Default expressions to highlight in CUDA mode.") "Default expressions to highlight in CUDA mode.")
(defvar cuda-mode-syntax-table nil (defvar cuda-mode-syntax-table nil