summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Wolffelaar <jeroen@php.net>2001-09-26 08:32:55 +0000
committerJeroen van Wolffelaar <jeroen@php.net>2001-09-26 08:32:55 +0000
commitb0468809ff52a10653718cc47e8a760b8ac1b0ad (patch)
tree936034f5b28b8fae03817f8d60246407972ac799
parentcdae7d9b7c0c9b3e05d4c3015dd667837337f6e4 (diff)
downloadphp-git-b0468809ff52a10653718cc47e8a760b8ac1b0ad.tar.gz
Now fixes virtually everything.
Sorry, but I assumed that the original script was correct. Unfortunately, that wasn't the case.
-rwxr-xr-xscripts/conv_z_macros6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/conv_z_macros b/scripts/conv_z_macros
index 246541e664..72f07e2ca7 100755
--- a/scripts/conv_z_macros
+++ b/scripts/conv_z_macros
@@ -48,9 +48,9 @@ for i in $@; do
-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(\1)/g' \
- -e 's/\([a-z_][a-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-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-zA-Z_][a-zA-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
echo "DONE"
done