Changeset 9287
- Timestamp:
- 08/11/11 12:10:32 (14 years ago)
- Location:
- issm/trunk/externalpackages/vim/addons/vim/syntax
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/externalpackages/vim/addons/vim/syntax/Synchronize.sh
r9249 r9287 1 1 #!/bin/bash 2 #Synchronize EnumAsString.cpp and StringToEnum.cpp 2 3 #Synchronize Enums 3 4 4 5 #Get all lines of EnumDefinitions.h which hold Enum 5 6 6 cat c.vim | sed "/ISSM's Enums begin/,/vim: ts=8/d" > temp 7 7 echo "\"ISSM's Enums begin" >> temp … … 11 11 12 12 mv temp c.vim 13 14 #Synchronize objects 15 cat c.vim | sed "/ISSM's objects begin/,/vim: ts=8/d" > temp 16 echo "\"ISSM's objects begin" >> temp 17 cat ../../../../../src/c/objects/objects.h | grep "\.h" | sed -e "s/\// /g" -e "s/\.h\"//" | awk '{print $(NF)}' | awk '{ printf "syn keyword cType " $1 "\n"}' >> temp 18 echo "\"ISSM's objects end" >> temp 19 cat c.vim | sed "1,/ISSM's objects end/d" >> temp 20 21 mv temp c.vim -
issm/trunk/externalpackages/vim/addons/vim/syntax/c.vim
r8311 r9287 405 405 "ISSM containers: 406 406 syn keyword cType Constraints DataSet Elements Inputs Loads Materials Parameters Results Vertices 407 "ISSM objects408 syn keyword cType Beam BeamRef BeamVertexElementResult BeamVertexInput BoolExternalResult BoolInput BoolParam ControlInput DofIndexing409 syn keyword cType DoubleElementResult DoubleExternalResult DoubleInput DoubleMatExternalResult DoubleMatParam DoubleParam DoubleVecExternalResult DoubleVecParam410 syn keyword cType Element ElementResult ElementMatrix ElementVector ExternalResult FemModel GaussSeg GaussTria GaussPenta Friction Hook Icefront Input411 syn keyword cType IntExternalResult IntInput IntParal IntVecParam IoModel Load Material Matice Matpar Node Nodes NodeSets Numericalflux Object412 syn keyword cType Param Patch Pengrid Penpair Penta PentaHook PentaRef PentaVertexElementResult PentaVertexInput PetscMatParam PetscVecExternalResult PetscVecParam413 syn keyword cType Rgb Riftfront Sing SingVertexElementResult SingVertexInput Spc StringArrayParam StringExternalResult StringParam414 syn keyword cType Tria TriaHook TriaRef TriaVertexElementResult TriaVertexInput Update Vertex415 "Bamg objects416 syn keyword cType BamgGeom BamgMesh BamgOpts CrackedEdge Curve Direction DoubleAndInt Edge GeomEdge GeomSubDomain GeomVertex Geometry IntEdge417 syn keyword cType ListofIntersectionTriangles EigenMetric BamgVertex Metric P2 P2xP2 QuadTree R2 SetOfEdges4 SubDomain Triangle AdjacentTriangle Mesh VertexOnEdge VertexOnGeom VertexOnVertex418 407 "Petsc 419 408 syn keyword cType Vec Mat 420 409 "other ISSM's syntax 421 syn keyword cType Contour OptArgs OptPars mxArray ErrorException 410 syn keyword cType mxArray ErrorException 411 412 "ISSM's objects begin 413 syn keyword cType objects.h 414 syn keyword cType Object 415 syn keyword cType Hook 416 syn keyword cType DofIndexing 417 syn keyword cType Vertex 418 syn keyword cType Node 419 syn keyword cType Segment 420 syn keyword cType IoModel 421 syn keyword cType Patch 422 syn keyword cType Update 423 syn keyword cType Constraint 424 syn keyword cType SpcStatic 425 syn keyword cType SpcTransient 426 syn keyword cType SpcDynamic 427 syn keyword cType GaussTria 428 syn keyword cType GaussPenta 429 syn keyword cType Friction 430 syn keyword cType Icefront 431 syn keyword cType Numericalflux 432 syn keyword cType Riftfront 433 syn keyword cType Penpair 434 syn keyword cType Pengrid 435 syn keyword cType Element 436 syn keyword cType Penta 437 syn keyword cType PentaHook 438 syn keyword cType PentaRef 439 syn keyword cType Tria 440 syn keyword cType TriaHook 441 syn keyword cType TriaRef 442 syn keyword cType KML_Attribute 443 syn keyword cType KML_ColorStyle 444 syn keyword cType KML_Container 445 syn keyword cType KML_Document 446 syn keyword cType KML_Feature 447 syn keyword cType KML_File 448 syn keyword cType KML_Folder 449 syn keyword cType KML_Geometry 450 syn keyword cType KML_GroundOverlay 451 syn keyword cType KML_Icon 452 syn keyword cType KML_LatLonBox 453 syn keyword cType KML_LinearRing 454 syn keyword cType KML_LineString 455 syn keyword cType KML_LineStyle 456 syn keyword cType KML_MultiGeometry 457 syn keyword cType KML_Object 458 syn keyword cType KML_Overlay 459 syn keyword cType KML_Placemark 460 syn keyword cType KML_Polygon 461 syn keyword cType KML_PolyStyle 462 syn keyword cType KML_Style 463 syn keyword cType KML_StyleSelector 464 syn keyword cType KML_SubStyle 465 syn keyword cType KMLFileReadUtils 466 syn keyword cType Option 467 syn keyword cType OptionDouble 468 syn keyword cType OptionLogical 469 syn keyword cType OptionChar 470 syn keyword cType OptionStruct 471 syn keyword cType OptionCell 472 syn keyword cType OptionUtilities 473 syn keyword cType Input 474 syn keyword cType BoolInput 475 syn keyword cType DoubleInput 476 syn keyword cType IntInput 477 syn keyword cType PentaVertexInput 478 syn keyword cType TriaVertexInput 479 syn keyword cType ControlInput 480 syn keyword cType DatasetInput 481 syn keyword cType TransientInput 482 syn keyword cType ElementResult 483 syn keyword cType DoubleElementResult 484 syn keyword cType TriaVertexElementResult 485 syn keyword cType PentaVertexElementResult 486 syn keyword cType BoolElementResult 487 syn keyword cType ExternalResult 488 syn keyword cType BoolExternalResult 489 syn keyword cType DoubleExternalResult 490 syn keyword cType DoubleVecExternalResult 491 syn keyword cType DoubleMatExternalResult 492 syn keyword cType IntExternalResult 493 syn keyword cType PetscVecExternalResult 494 syn keyword cType StringExternalResult 495 syn keyword cType Material 496 syn keyword cType Matice 497 syn keyword cType Matpar 498 syn keyword cType ElementMatrix 499 syn keyword cType ElementVector 500 syn keyword cType BoolParam 501 syn keyword cType DoubleMatParam 502 syn keyword cType DoubleMatArrayParam 503 syn keyword cType DoubleParam 504 syn keyword cType DoubleVecParam 505 syn keyword cType IntParam 506 syn keyword cType IntVecParam 507 syn keyword cType IntMatParam 508 syn keyword cType FileParam 509 syn keyword cType Param 510 syn keyword cType PetscMatParam 511 syn keyword cType PetscVecParam 512 syn keyword cType StringArrayParam 513 syn keyword cType StringParam 514 syn keyword cType Contour 515 syn keyword cType SolverEnum 516 syn keyword cType FemModel 517 syn keyword cType OptArgs 518 syn keyword cType OptPars 519 syn keyword cType BamgOpts 520 syn keyword cType BamgGeom 521 syn keyword cType BamgMesh 522 syn keyword cType Metric 523 syn keyword cType DoubleAndInt 524 syn keyword cType Direction 525 syn keyword cType BamgVertex 526 syn keyword cType AdjacentTriangle 527 syn keyword cType Edge 528 syn keyword cType GeomVertex 529 syn keyword cType GeomEdge 530 syn keyword cType Curve 531 syn keyword cType Triangle 532 syn keyword cType ListofIntersectionTriangles 533 syn keyword cType GeomSubDomain 534 syn keyword cType SubDomain 535 syn keyword cType VertexOnGeom 536 syn keyword cType VertexOnVertex 537 syn keyword cType VertexOnEdge 538 syn keyword cType CrackedEdge 539 syn keyword cType Mesh 540 syn keyword cType Geometry 541 syn keyword cType QuadTree 542 syn keyword cType SetOfE4 543 "ISSM's objects end 544 422 545 "ISSM's Enums begin 423 546 syn keyword cConstant ConstraintsEnum … … 449 572 syn keyword cConstant HydrologySolutionEnum 450 573 syn keyword cConstant HydrologyAnalysisEnum 451 syn keyword cConstant Transient2DSolutionEnum 452 syn keyword cConstant Transient2DAnalysisEnum 453 syn keyword cConstant Transient3DSolutionEnum 454 syn keyword cConstant Transient3DAnalysisEnum 574 syn keyword cConstant TransientSolutionEnum 455 575 syn keyword cConstant GroundingLineMigration2DSolutionEnum 456 576 syn keyword cConstant SteadyAnalysisEnum … … 466 586 syn keyword cConstant BalancethicknessSolutionEnum 467 587 syn keyword cConstant BalancethicknessAnalysisEnum 468 syn keyword cConstant BalancevelocitiesSolutionEnum469 syn keyword cConstant BalancevelocitiesAnalysisEnum588 syn keyword cConstant Fake31Enum 589 syn keyword cConstant Fake32Enum 470 590 syn keyword cConstant PrognosticSolutionEnum 471 591 syn keyword cConstant PrognosticAnalysisEnum … … 519 639 syn keyword cConstant PentaVertexInputEnum 520 640 syn keyword cConstant TriaVertexInputEnum 641 syn keyword cConstant Fake0Enum 642 syn keyword cConstant Fake1Enum 521 643 syn keyword cConstant ControlInputEnum 522 644 syn keyword cConstant ParamEnum … … 535 657 syn keyword cConstant ElementResultEnum 536 658 syn keyword cConstant ExternalResultEnum 537 syn keyword cConstant SpcEnum 659 syn keyword cConstant SpcStaticEnum 660 syn keyword cConstant SpcTransientEnum 538 661 syn keyword cConstant GeographyEnum 539 662 syn keyword cConstant IceSheetEnum … … 546 669 syn keyword cConstant OpenEnum 547 670 syn keyword cConstant ClosedEnum 548 syn keyword cConstant AccumulationRateEnum549 671 syn keyword cConstant AdjointxEnum 550 672 syn keyword cConstant AdjointyEnum … … 559 681 syn keyword cConstant CmResponseEnum 560 682 syn keyword cConstant CmResponsesEnum 561 syn keyword cConstant CmNoiseDmpEnum683 syn keyword cConstant Fake2Enum 562 684 syn keyword cConstant ConstantEnum 563 685 syn keyword cConstant NumControlsEnum 564 686 syn keyword cConstant ControlTypeEnum 565 687 syn keyword cConstant ConvergedEnum 566 syn keyword cConstant DhDtEnum688 syn keyword cConstant Fake3Enum 567 689 syn keyword cConstant DragCoefficientEnum 568 690 syn keyword cConstant DragPEnum … … 576 698 syn keyword cConstant ElementOnSurfaceEnum 577 699 syn keyword cConstant ElementOnWaterEnum 578 syn keyword cConstant EpsVelEnum700 syn keyword cConstant Fake4Enum 579 701 syn keyword cConstant FillEnum 580 702 syn keyword cConstant FractionIncrementEnum 581 703 syn keyword cConstant FrictionEnum 582 syn keyword cConstant GeothermalFluxEnum704 syn keyword cConstant Fake5Enum 583 705 syn keyword cConstant HydrostaticAdjustmentEnum 584 706 syn keyword cConstant InternalEnum … … 594 716 syn keyword cConstant SurfaceAverageVelMisfitEnum 595 717 syn keyword cConstant MaxPenetrationEnum 596 syn keyword cConstant MeanVelEnum718 syn keyword cConstant Fake6Enum 597 719 syn keyword cConstant MeltingOffsetEnum 598 720 syn keyword cConstant GroundingLineMeltingRateEnum 599 syn keyword cConstant MeltingRateEnum721 syn keyword cConstant BasalMeltingRateEnum 600 722 syn keyword cConstant MisfitEnum 601 723 syn keyword cConstant NodeOnBedEnum … … 617 739 syn keyword cConstant ShelfDampeningEnum 618 740 syn keyword cConstant StabilizeConstraintsEnum 619 syn keyword cConstant StokesReconditioningEnum 741 syn keyword cConstant Fake7Enum 742 syn keyword cConstant SurfaceAccumulationRateEnum 743 syn keyword cConstant SurfaceAblationRateEnum 620 744 syn keyword cConstant SurfaceAreaEnum 621 745 syn keyword cConstant SurfaceEnum 746 syn keyword cConstant SurfaceMassBalanceEnum 622 747 syn keyword cConstant SurfaceSlopeXEnum 623 748 syn keyword cConstant SurfaceSlopeYEnum … … 672 797 syn keyword cConstant TimeEnum 673 798 syn keyword cConstant OutputFrequencyEnum 674 syn keyword cConstant WaterColumnEnum799 syn keyword cConstant Fake8Enum 675 800 syn keyword cConstant WaterColumnOldEnum 676 801 syn keyword cConstant WaterColumnPicardEnum … … 697 822 syn keyword cConstant RhoWaterEnum 698 823 syn keyword cConstant GravityEnum 699 syn keyword cConstant ThermalConductivityEnum700 syn keyword cConstant MeltingRateCorrectionEnum701 syn keyword cConstant MeltingRateCorrectionApplyEnum824 syn keyword cConstant Fake9Enum 825 syn keyword cConstant BasalMeltingRateCorrectionEnum 826 syn keyword cConstant BasalMeltingRateCorrectionApplyEnum 702 827 syn keyword cConstant MixedLayerCapacityEnum 703 828 syn keyword cConstant ThermalExchangeVelocityEnum … … 725 850 syn keyword cConstant EpsRelEnum 726 851 syn keyword cConstant EpsResEnum 727 syn keyword cConstant HeatCapacityEnum728 syn keyword cConstant IsHutterEnum729 syn keyword cConstant IsMacAyealPattynEnum730 syn keyword cConstant IsStokesEnum731 syn keyword cConstant KffEnum732 syn keyword cConstant LatentHeatEnum852 syn keyword cConstant Fake10Enum 853 syn keyword cConstant Fake29Enum 854 syn keyword cConstant Fake11Enum 855 syn keyword cConstant Fake12Enum 856 syn keyword cConstant Fake13Enum 857 syn keyword cConstant Fake14Enum 733 858 syn keyword cConstant LowmemEnum 734 syn keyword cConstant MaxIterEnum859 syn keyword cConstant Fake16Enum 735 860 syn keyword cConstant MaxNonlinearIterationsEnum 736 syn keyword cConstant MeltingPointEnum861 syn keyword cConstant Fake17Enum 737 862 syn keyword cConstant MinMechanicalConstraintsEnum 738 863 syn keyword cConstant MinThermalConstraintsEnum 739 syn keyword cConstant NStepsEnum864 syn keyword cConstant Fake18Enum 740 865 syn keyword cConstant NdtEnum 741 866 syn keyword cConstant NumOutputEnum … … 744 869 syn keyword cConstant NumberOfNodesEnum 745 870 syn keyword cConstant NumberOfVerticesEnum 746 syn keyword cConstant OptScalEnum871 syn keyword cConstant Fake19Enum 747 872 syn keyword cConstant OutputFilePointerEnum 748 syn keyword cConstant OutputFileNameEnum749 syn keyword cConstant ParameterOutputEnum873 syn keyword cConstant Fake20Enum 874 syn keyword cConstant Fake21Enum 750 875 syn keyword cConstant PenaltyMeltingEnum 751 876 syn keyword cConstant QmuAnalysisEnum … … 763 888 syn keyword cConstant ScaledEnum 764 889 syn keyword cConstant NodalEnum 765 syn keyword cConstant Response DescriptorsEnum890 syn keyword cConstant ResponsedescriptorsEnum 766 891 syn keyword cConstant PetscRcEnum 767 892 syn keyword cConstant SparsityEnum 768 syn keyword cConstant TolXEnum769 syn keyword cConstant Variable DescriptorsEnum893 syn keyword cConstant Fake22Enum 894 syn keyword cConstant VariabledescriptorsEnum 770 895 syn keyword cConstant VerboseEnum 771 syn keyword cConstant WaitOnLockEnum896 syn keyword cConstant Fake23Enum 772 897 syn keyword cConstant PetscOptionsStringsEnum 773 898 syn keyword cConstant PetscOptionsAnalysesEnum … … 792 917 syn keyword cConstant VyMeshEnum 793 918 syn keyword cConstant VzMeshEnum 794 syn keyword cConstant IsDiagnosticEnum 795 syn keyword cConstant IsPrognosticEnum 796 syn keyword cConstant IsThermalEnum 919 syn keyword cConstant Fake24Enum 920 syn keyword cConstant Fake25Enum 921 syn keyword cConstant Fake26Enum 922 syn keyword cConstant EnthalpySolutionEnum 923 syn keyword cConstant EnthalpyAnalysisEnum 924 syn keyword cConstant EnthalpyEnum 925 syn keyword cConstant EnthalpyPicardEnum 926 syn keyword cConstant Fake27Enum 927 syn keyword cConstant Fake28Enum 928 syn keyword cConstant ThicknessAbsGradientEnum 929 syn keyword cConstant VelAbsGradientEnum 930 syn keyword cConstant DatasetInputEnum 931 syn keyword cConstant NumResponsesEnum 932 syn keyword cConstant StepResponsesEnum 933 syn keyword cConstant IntMatParamEnum 934 syn keyword cConstant RheologyBbarAbsGradientEnum 935 syn keyword cConstant DragCoefficientAbsGradientEnum 936 syn keyword cConstant TransientInputEnum 937 syn keyword cConstant NumberOfElements2DEnum 938 syn keyword cConstant NumControlTypeEnum 939 syn keyword cConstant SpcvyEnum 940 syn keyword cConstant HydroQEnum 941 syn keyword cConstant VerboseBinaryEnum 942 syn keyword cConstant NodeOnWaterEnum 943 syn keyword cConstant YEnum 944 syn keyword cConstant GlMeltingRateEnum 945 syn keyword cConstant ElementsTypeEnum 946 syn keyword cConstant PenaltiesEnum 947 syn keyword cConstant PrognosticDGEnum 948 syn keyword cConstant PressureloadEnum 949 syn keyword cConstant HydroCREnum 950 syn keyword cConstant NameEnum 951 syn keyword cConstant VerticesTypeEnum 952 syn keyword cConstant HydroKnEnum 953 syn keyword cConstant GEnum 954 syn keyword cConstant InputfilenameEnum 955 syn keyword cConstant SpcvzEnum 956 syn keyword cConstant Fake33Enum 957 syn keyword cConstant NumberOfNodes2DEnum 958 syn keyword cConstant NodeOnStokesEnum 959 syn keyword cConstant NodeOnHutterEnum 960 syn keyword cConstant ZEnum 961 syn keyword cConstant GlMigrationEnum 962 syn keyword cConstant RiftinfoEnum 963 syn keyword cConstant ElementOnIceSheetEnum 964 syn keyword cConstant SpcthicknessEnum 965 syn keyword cConstant SpctemperatureEnum 966 syn keyword cConstant PenaltyLockEnum 967 syn keyword cConstant SpcvxEnum 968 syn keyword cConstant UpperelementsEnum 969 syn keyword cConstant HydroPEnum 970 syn keyword cConstant NodeOnPattynEnum 971 syn keyword cConstant EdgesEnum 972 syn keyword cConstant Elements2DEnum 973 syn keyword cConstant XEnum 974 syn keyword cConstant NumCmResponsesEnum 975 syn keyword cConstant NodeOnMacayealEnum 976 syn keyword cConstant ElementconnectivityEnum 977 syn keyword cConstant SpcwatercolumnEnum 978 syn keyword cConstant ArtificialDiffusivityEnum 979 syn keyword cConstant HydroNEnum 980 syn keyword cConstant BorderstokesEnum 981 syn keyword cConstant NumlayersEnum 982 syn keyword cConstant DiagnosticRefEnum 983 syn keyword cConstant IshutterEnum 984 syn keyword cConstant IsmacayealpattynEnum 985 syn keyword cConstant IsstokesEnum 986 syn keyword cConstant StokesreconditioningEnum 987 syn keyword cConstant LowerelementsEnum 988 syn keyword cConstant HeatcapacityEnum 989 syn keyword cConstant LatentheatEnum 990 syn keyword cConstant ThermalconductivityEnum 991 syn keyword cConstant MeltingpointEnum 992 syn keyword cConstant ReferencetemperatureEnum 993 syn keyword cConstant DhdtEnum 994 syn keyword cConstant GeothermalfluxEnum 995 syn keyword cConstant IsprognosticEnum 996 syn keyword cConstant IsdiagnosticEnum 997 syn keyword cConstant IsthermalEnum 998 syn keyword cConstant NstepsEnum 999 syn keyword cConstant MaxiterEnum 1000 syn keyword cConstant TolxEnum 1001 syn keyword cConstant OptscalEnum 1002 syn keyword cConstant EpsvelEnum 1003 syn keyword cConstant MeanvelEnum 1004 syn keyword cConstant Fake30Enum 1005 syn keyword cConstant OutputfilenameEnum 1006 syn keyword cConstant WaterfractionEnum 1007 syn keyword cConstant WatercolumnEnum 1008 syn keyword cConstant WaitonlockEnum 1009 syn keyword cConstant NumberOfVariablesEnum 1010 syn keyword cConstant NumberOfResponsesEnum 1011 syn keyword cConstant NpartEnum 1012 syn keyword cConstant QmuMassFluxNumProfilesEnum 1013 syn keyword cConstant PartEnum 1014 syn keyword cConstant MaxSteadystateIterationsEnum 1015 syn keyword cConstant RequestedOutputsEnum 1016 syn keyword cConstant NumRequestedOutputsEnum 1017 syn keyword cConstant BasalFrictionEnum 1018 syn keyword cConstant ViscousHeatingEnum 1019 syn keyword cConstant QmuTemperatureEnum 1020 syn keyword cConstant QmuRheologyBEnum 1021 syn keyword cConstant HydrologyWaterVxEnum 1022 syn keyword cConstant HydrologyWaterVyEnum 1023 syn keyword cConstant SpcDynamicEnum 797 1024 "ISSM's Enums end 798 1025 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Note:
See TracChangeset
for help on using the changeset viewer.