]> granicus.if.org Git - php/commitdiff
Now fixes virtually everything.
authorJeroen van Wolffelaar <jeroen@php.net>
Wed, 26 Sep 2001 08:32:55 +0000 (08:32 +0000)
committerJeroen van Wolffelaar <jeroen@php.net>
Wed, 26 Sep 2001 08:32:55 +0000 (08:32 +0000)
Sorry, but I assumed that the original script was correct. Unfortunately, that
wasn't the case.

scripts/conv_z_macros

index 246541e6647e2e935543e469fe03f12dd9a3e33b..72f07e2ca7c756720365446c04e3c1673e1fffc1 100755 (executable)
@@ -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