2004-06-13 20:20:40 +00:00
|
|
|
|
" Vim syntax file
|
|
|
|
|
" Language: Comshare Dimension Definition Language
|
|
|
|
|
" Maintainer: Raul Segura Acevedo <raulseguraaceved@netscape.net>
|
|
|
|
|
" Last change: 2001 Jul 31
|
|
|
|
|
|
2016-08-30 23:26:57 +02:00
|
|
|
|
" quit when a syntax file was already loaded
|
|
|
|
|
if exists("b:current_syntax")
|
2004-06-13 20:20:40 +00:00
|
|
|
|
finish
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
sy case ignore
|
|
|
|
|
sy sync fromstart
|
|
|
|
|
sy keyword cdlStatement dimension hierarchy group grouphierarchy schedule class
|
|
|
|
|
sy keyword cdlType add update file category main altername removeall required notrequired
|
|
|
|
|
sy keyword cdlConditional if then elseif else endif and or not cons rpt xlt
|
|
|
|
|
sy keyword cdlFunction ChildOf IChildOf LeafChildOf DescendantOf IDescendantOf LeafDescendantOf MemberIs CountOf
|
|
|
|
|
|
|
|
|
|
sy keyword cdlIdentifier contained id name desc description xlttype precision symbol curr_ name group_name rate_name
|
|
|
|
|
sy keyword cdlIdentifier contained xcheck endbal accounttype natsign consolidate formula pctown usage periodicity
|
|
|
|
|
sy match cdlIdentifier contained 'child\s*name'
|
|
|
|
|
sy match cdlIdentifier contained 'parent\s*name'
|
|
|
|
|
sy match cdlIdentifier contained 'grp\s*description'
|
|
|
|
|
sy match cdlIdentifier contained 'grpchild\s*name'
|
|
|
|
|
sy match cdlIdentifier contained 'grpparent\s*name'
|
|
|
|
|
sy match cdlIdentifier contained 'preceding\s*member'
|
|
|
|
|
sy match cdlIdentifier contained 'unit\s*name'
|
|
|
|
|
sy match cdlIdentifier contained 'unit\s*id'
|
|
|
|
|
sy match cdlIdentifier contained 'schedule\s*name'
|
|
|
|
|
sy match cdlIdentifier contained 'schedule\s*id'
|
|
|
|
|
|
|
|
|
|
sy match cdlString /\[[^]]*]/ contains=cdlRestricted,cdlNotSupported
|
|
|
|
|
sy match cdlRestricted contained /[&*,_]/
|
|
|
|
|
" not supported |