Index: /issm/trunk/src/c/EnumDefinitions/Synchronize.sh
===================================================================
--- /issm/trunk/src/c/EnumDefinitions/Synchronize.sh	(revision 5228)
+++ /issm/trunk/src/c/EnumDefinitions/Synchronize.sh	(revision 5229)
@@ -26,8 +26,8 @@
 END
 
-cat EnumToModelField.cpp | grep "case" | sed -e "s/Enum/Enum()/g" -e "s/\"/'/g" >> EnumToModelField.m
+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
 
 cat <<END >> EnumToModelField.m
-otherwise, error(['Enum ' num2str(enum)  ' not found associated to any model field']);
+		otherwise, error(['Enum ' num2str(enum)  ' not found associated to any model field']);
 
 end
