Changeset 3825


Ignore:
Timestamp:
05/18/10 16:27:25 (15 years ago)
Author:
Mathieu Morlighem
Message:

fixed problem for P1Enum

Location:
issm/trunk/src/c/EnumDefinitions
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/EnumDefinitions/SynchronizeMatlabEnum.sh

    r3785 r3825  
    99echo "Synchronizing Matlab's Enums..."
    1010#Get all lines of EnumDefinitions2.h which hold Enum | remove all comas | add line number in the first column > put everything in file temp
    11 cat EnumDefinitions.h | grep "[Aa-Zz]Enum" | grep -v StringAsEnum | sed -e "s/,//g" | awk '{ printf "%s %s\n", NR, $0 }' > temp
     11cat EnumDefinitions.h | grep -e "[0-9]Enum" -e "[Aa-Zz]Enum" | grep -v StringAsEnum | sed -e "s/,//g" | awk '{ printf "%s %s\n", NR, $0 }' > temp
    1212
    1313#Build header of EnumAsString.m {{{1
  • issm/trunk/src/c/EnumDefinitions/SynchronizeStrings.sh

    r3781 r3825  
    77echo "Synchronizing EnumAsString..."
    88#Get all lines of EnumDefinitions2.h which hold Enum | remove all comas | add line number in the first column > put everything in file temp
    9 cat EnumDefinitions.h | grep "[Aa-Zz]Enum" | grep -v StringAsEnum | sed -e "s/,//g" | awk '{ printf "%s %s\n", NR, $0 }' > temp
     9cat EnumDefinitions.h | grep -e "[0-9]Enum" -e "[Aa-Zz]Enum" | grep -v StringAsEnum | sed -e "s/,//g" | awk '{ printf "%s %s\n", NR, $0 }' > temp
    1010
    1111#Build header of EnumAsString.cpp {{{1
Note: See TracChangeset for help on using the changeset viewer.