Merge pull request #1199 from jkozdon/vim_syntax

Adding taskCount and taskIndex vim syntax file
This commit is contained in:
Dmitry Babokin
2016-05-10 22:06:58 +03:00

View File

@@ -1,7 +1,7 @@
" Vim syntax file " Vim syntax file
" Language: ISPC " Language: ISPC
" Maintainer: Andreas Wendleder <andreas.wendleder@gmail.com> " Maintainer: Andreas Wendleder <andreas.wendleder@gmail.com>
" Last Change: 2016 Mar 24 " Last Change: 2016 May 04
" Quit when a syntax file was already loaded " Quit when a syntax file was already loaded
if exists("b:current_syntax") if exists("b:current_syntax")
@@ -13,11 +13,11 @@ runtime! syntax/c.vim
unlet b:current_syntax unlet b:current_syntax
" New keywords " New keywords
syn keyword ispcStatement cbreak ccontinue creturn launch print reference soa sync task syn keyword ispcStatement cbreak ccontinue creturn launch print reference soa sync
syn keyword ispcConditional cif syn keyword ispcConditional cif
syn keyword ispcRepeat cdo cfor cwhile foreach foreach_tiled foreach_unique foreach_active syn keyword ispcRepeat cdo cfor cwhile foreach foreach_tiled foreach_unique foreach_active
syn keyword ispcBuiltin programCount programIndex syn keyword ispcBuiltin programCount programIndex taskCount taskCount0 taskCount1 taskCount3 taskIndex taskIndex0 taskIndex1 taskIndex2
syn keyword ispcType export uniform varying int8 int16 int32 int64 syn keyword ispcType export uniform varying int8 int16 int32 int64 task new delete
syn keyword ispcOperator operator syn keyword ispcOperator operator
"double precision floating point number, with dot, optional exponent "double precision floating point number, with dot, optional exponent