Changeset 5122


Ignore:
Timestamp:
08/10/10 14:13:04 (15 years ago)
Author:
seroussi
Message:

script minor

Location:
issm/trunk/externalpackages/vim/vim.AddOns/issm.vim/syntax
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/externalpackages/vim/vim.AddOns/issm.vim/syntax/SynchronizeEnums.sh

    r4930 r5122  
    11#!/bin/bash
    2 #Synchronize EnumAsString.cpp and StringAsEnum.cpp
     2#Synchronize EnumAsString.cpp and StringToEnum.cpp
    33
    44#Get all lines of EnumDefinitions.h which hold Enum
     
    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 StringAsEnum | 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/vim.AddOns/issm.vim/syntax/c.vim

    r4930 r5122  
    479479syn keyword cConstant SteadystateAnalysisEnum
    480480syn keyword cConstant NoneAnalysisEnum
    481 syn keyword cConstant FormulationEnum
    482 syn keyword cConstant HutterFormulationEnum
    483 syn keyword cConstant MacAyealFormulationEnum
    484 syn keyword cConstant NoneFormulationEnum
    485 syn keyword cConstant PattynFormulationEnum
    486 syn keyword cConstant StokesFormulationEnum
     481syn keyword cConstant ApproximationEnum
     482syn keyword cConstant HutterApproximationEnum
     483syn keyword cConstant MacAyealApproximationEnum
     484syn keyword cConstant MacAyealPattynApproximationEnum
     485syn keyword cConstant NoneApproximationEnum
     486syn keyword cConstant PattynApproximationEnum
     487syn keyword cConstant StokesApproximationEnum
    487488syn keyword cConstant ObjectEnum
    488489syn keyword cConstant HookEnum
     
    575576syn keyword cConstant InternalEnum
    576577syn keyword cConstant KflagEnum
     578syn keyword cConstant MassFluxEnum
    577579syn keyword cConstant MaxPenetrationEnum
    578580syn keyword cConstant MeanVelEnum
    579581syn keyword cConstant MeltingOffsetEnum
    580582syn keyword cConstant MeltingRateEnum
     583syn keyword cConstant MisfitEnum
    581584syn keyword cConstant NodeOnBedEnum
    582585syn keyword cConstant NodeOnIceSheetEnum
     
    602605syn keyword cConstant TemperatureEnum
    603606syn keyword cConstant TemperatureOldEnum
    604 syn keyword cConstant TemperatureAverageEnum
    605607syn keyword cConstant ThicknessEnum
    606608syn keyword cConstant TypeEnum
     
    672674syn keyword cConstant EpsRelEnum
    673675syn keyword cConstant EpsResEnum
    674 syn keyword cConstant ExtrudeParamEnum
    675676syn keyword cConstant HeatCapacityEnum
    676677syn keyword cConstant IsHutterEnum
     
    688689syn keyword cConstant NumOutputEnum
    689690syn keyword cConstant NumRiftsEnum
    690 syn keyword cConstant NumberOfDofsPerNodeEnum
    691691syn keyword cConstant NumberOfElementsEnum
    692692syn keyword cConstant NumberOfNodesEnum
Note: See TracChangeset for help on using the changeset viewer.