Changeset 5229 for issm/trunk/src/c/EnumDefinitions/Synchronize.sh
- Timestamp:
- 08/13/10 09:48:05 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/EnumDefinitions/Synchronize.sh
r5227 r5229 26 26 END 27 27 28 cat EnumToModelField.cpp | grep "case" | sed -e "s/Enum /Enum()/g" -e "s/\"/'/g" >> EnumToModelField.m28 cat EnumToModelField.cpp | grep "case" | sed -e "s/Enum :/Enum(),/g" -e "s/\"/'/g" -e "s/return /string=/g" -e "s/;/; return/g" >> EnumToModelField.m 29 29 30 30 cat <<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']); 32 32 33 33 end
Note:
See TracChangeset
for help on using the changeset viewer.