]> granicus.if.org Git - php/commitdiff
And now correctly... and up until 3 levels
authorJeroen van Wolffelaar <jeroen@php.net>
Wed, 26 Sep 2001 07:58:32 +0000 (07:58 +0000)
committerJeroen van Wolffelaar <jeroen@php.net>
Wed, 26 Sep 2001 07:58:32 +0000 (07:58 +0000)
scripts/conv_z_macros

index 4dfaf91f7199826b171160f76650f75900cc5e13..246541e6647e2e935543e469fe03f12dd9a3e33b 100755 (executable)
@@ -48,7 +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-z_][a-z_0-9]*\)->Z_\([A-Z_]\+\)(/Z_\2(\1->/g' \
        < $i > tmp && cp tmp $i
        echo "DONE"
 done