Ignore:
Timestamp:
08/13/10 09:48:05 (15 years ago)
Author:
Mathieu Morlighem
Message:

minor

File:
1 edited

Legend:

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

    r5227 r5229  
    2626END
    2727
    28 cat EnumToModelField.cpp | grep "case" | sed -e "s/Enum/Enum()/g" -e "s/\"/'/g" >> EnumToModelField.m
     28cat EnumToModelField.cpp | grep "case" | sed -e "s/Enum :/Enum(),/g" -e "s/\"/'/g" -e "s/return /string=/g" -e "s/;/; return/g" >> EnumToModelField.m
    2929
    3030cat <<END >> EnumToModelField.m
    31 otherwise, error(['Enum ' num2str(enum)  ' not found associated to any model field']);
     31                otherwise, error(['Enum ' num2str(enum)  ' not found associated to any model field']);
    3232
    3333end
Note: See TracChangeset for help on using the changeset viewer.