Fix modifier keywords
This commit is contained in:
parent
8f1d29f0bc
commit
b612fa50ab
14
cuda-mode.el
14
cuda-mode.el
@ -55,16 +55,10 @@ the appropriate place for that."
|
|||||||
(c-lang-const c-primitive-type-kwds)
|
(c-lang-const c-primitive-type-kwds)
|
||||||
nil)))
|
nil)))
|
||||||
|
|
||||||
(c-lang-defconst c-type-modifier-keywds
|
(c-lang-defconst c-modifier-kwds
|
||||||
"Type modifier keywords. These can occur almost anywhere in types
|
cuda (append
|
||||||
but they don't build a type of themselves. Unlike the keywords on
|
(c-lang-const c-modifier-kwds)
|
||||||
`c-primitive-type-kwds', they are fontified with the keyword face and
|
'("__device__" "__global__" "__shared__" "__host__" "__constant__")))
|
||||||
not the type face."
|
|
||||||
cuda
|
|
||||||
(append
|
|
||||||
'("__device__", "__global__", "__shared__", "__host__", "__constant__")
|
|
||||||
(c-lang-const c-type-modifier-keywds)
|
|
||||||
nil))
|
|
||||||
|
|
||||||
(c-lang-defconst c-other-op-syntax-tokens
|
(c-lang-defconst c-other-op-syntax-tokens
|
||||||
"List of the tokens made up of characters in the punctuation or
|
"List of the tokens made up of characters in the punctuation or
|
||||||
|
Loading…
Reference in New Issue
Block a user