Changeset 12659


Ignore:
Timestamp:
07/19/12 09:59:55 (13 years ago)
Author:
helsen
Message:

updated enum syntax

Location:
issm/trunk/externalpackages/vim/addons/vim/syntax
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/externalpackages/vim/addons/vim/syntax/Synchronize.sh

    r9403 r12659  
    66cat c.vim | sed "/ISSM's Enums begin/,/vim: ts=8/d" > temp
    77echo "\"ISSM's Enums begin" >> temp
    8 cat ../../../../../src/c/EnumDefinitions/EnumDefinitions.h | grep -e "[0-9]Enum," -e "[Aa-Zz]Enum," | grep -v StringToEnum | sed -e "s/,//g" | awk '{ printf "syn keyword cConstant " $1 "\n"}' >> temp
     8cat ../../../../../src/c/EnumDefinitions/EnumDefinitions.h | grep -e "[0-9]Enum," -e "[aA-zZ]Enum," | grep -v StringToEnum | sed -e "s/,//g" | awk '{ printf "syn keyword cConstant " $1 "\n"}' >> temp
    99echo "\"ISSM's Enums end" >> temp
    1010cat c.vim | sed "1,/ISSM's Enums end/d" >> temp
  • issm/trunk/externalpackages/vim/addons/vim/syntax/c.vim

    r12332 r12659  
    545545syn keyword cType Mesh
    546546syn keyword cType Geometry
    547 syn keyword cType QuadTree
     547syn keyword cType BamgQuadtree
    548548syn keyword cType SetOfE4
    549549syn keyword cType Variogram
     
    551551syn keyword cType ExponentialVariogram
    552552syn keyword cType SphericalVariogram
     553syn keyword cType PowerVariogram
    553554syn keyword cType Quadtree
    554555syn keyword cType Observation
     
    647648syn keyword cConstant MaterialsRhoIceEnum
    648649syn keyword cConstant MaterialsRhoWaterEnum
     650syn keyword cConstant MaterialsRhoFreshwaterEnum
    649651syn keyword cConstant MaterialsMuWaterEnum
    650652syn keyword cConstant MaterialsThermalExchangeVelocityEnum
     
    696698syn keyword cConstant PetscProfilingCurrentFlopsEnum
    697699syn keyword cConstant PetscProfilingSolutionTimeEnum
     700syn keyword cConstant MaxIterationConvergenceFlagEnum
    698701syn keyword cConstant SteadystateMaxiterEnum
    699702syn keyword cConstant SteadystateNumRequestedOutputsEnum
     
    703706syn keyword cConstant SurfaceforcingsPrecipitationEnum
    704707syn keyword cConstant SurfaceforcingsMassBalanceEnum
     708syn keyword cConstant SurfaceforcingsIspddEnum
     709syn keyword cConstant SurfaceforcingsIssmbgradientsEnum
     710syn keyword cConstant SurfaceforcingsMonthlytemperaturesEnum
     711syn keyword cConstant SurfaceforcingsHcEnum
     712syn keyword cConstant SurfaceforcingsSmb_pos_maxEnum
     713syn keyword cConstant SurfaceforcingsSmb_pos_minEnum
     714syn keyword cConstant SurfaceforcingsA_posEnum
     715syn keyword cConstant SurfaceforcingsB_posEnum
     716syn keyword cConstant SurfaceforcingsA_negEnum
     717syn keyword cConstant SurfaceforcingsB_negEnum
    705718syn keyword cConstant ThermalMaxiterEnum
    706719syn keyword cConstant ThermalPenaltyFactorEnum
Note: See TracChangeset for help on using the changeset viewer.