Test, documentation and vim support for double precision constants

This commit is contained in:
Dmitry Babokin
2013-09-17 23:36:16 +04:00
parent b258027061
commit fa78d548cc
3 changed files with 38 additions and 1 deletions

View File

@@ -19,6 +19,11 @@ syn keyword ispcRepeat cdo cfor cwhile
syn keyword ispcBuiltin programCount programIndex
syn keyword ispcType export uniform varying int8 int16 int32 int64
"double precision floating point number, with dot, optional exponent
syn match cFloat display contained "\d\+\.\d*d[-+]\=\d*\>"
"double precision floating point number, without dot, with exponent
syn match cFloat display contained "\d\+d[-+]\=\d\+\>"
" Default highlighting
command -nargs=+ HiLink hi def link <args>
HiLink ispcStatement Statement