Now fixes virtually everything.

Sorry, but I assumed that the original script was correct. Unfortunately, that
wasn't the case.
This commit is contained in:
Jeroen van Wolffelaar 2001-09-26 08:32:55 +00:00
parent cdae7d9b7c
commit b0468809ff

View File

@ -48,9 +48,9 @@ for i in $@; do
-e 's/(\*\([^()]\+\))->value\.obj/Z_OBJ_PP(\1)/g' \ -e 's/(\*\([^()]\+\))->value\.obj/Z_OBJ_PP(\1)/g' \
-e 's/\([a-z_][]a-z_0-9\[]*\)->value\.obj/Z_OBJ_P(\1)/g' \ -e 's/\([a-z_][]a-z_0-9\[]*\)->value\.obj/Z_OBJ_P(\1)/g' \
-e 's/\([a-z_][]a-z_0-9\[]*\)\.value\.obj/Z_OBJ(\1)/g' \ -e 's/\([a-z_][]a-z_0-9\[]*\)\.value\.obj/Z_OBJ(\1)/g' \
-e 's/\([a-z_][a-z_0-9]*\)->Z_\([A-Z_]\+\)(/Z_\2(\1->/g' \ -e 's/\([a-zA-Z_][a-zA-Z_0-9]*\)->Z_\([A-Z_]\+\)(/Z_\2(\1->/g' \
-e 's/\([a-z_][a-z_0-9]*\)->Z_\([A-Z_]\+\)(/Z_\2(\1->/g' \ -e 's/\([a-zA-Z_][a-zA-Z_0-9]*\)->Z_\([A-Z_]\+\)(/Z_\2(\1->/g' \
-e 's/\([a-z_][a-z_0-9]*\)->Z_\([A-Z_]\+\)(/Z_\2(\1->/g' \ -e 's/\([a-zA-Z_][a-zA-Z_0-9]*\)->Z_\([A-Z_]\+\)(/Z_\2(\1->/g' \
< $i > tmp && cp tmp $i < $i > tmp && cp tmp $i
echo "DONE" echo "DONE"
done done