* Makefile.in (.y.c, .l.c): sed free to xfree.
[deliverable/binutils-gdb.git] / gdb / Makefile.in
index 7bda059ec74f7a11f9b289aacdd497c23ccb386e..ec4b1d2c488c2c39af45e3a96e41c967a16adfe2 100644 (file)
@@ -1470,6 +1470,8 @@ po/$(PACKAGE).pot: force
             -e '/include.*malloc.h/d' \
             -e 's/\([^x]\)malloc/\1xmalloc/g' \
             -e 's/\([^x]\)realloc/\1xrealloc/g' \
+            -e 's/\([ \t;,(]\)free\([ \t]*[&(),]\)/\1xfree\2/g' \
+            -e 's/\([ \t;,(]\)free$$/\1xfree/g' \
             -e '/^#line.*y.tab.c/d' \
          < $@.tmp > $@.new
        -rm $@.tmp
@@ -1484,6 +1486,8 @@ po/$(PACKAGE).pot: force
                -e '/include.*malloc.h/d' \
                -e 's/\([^x]\)malloc/\1xmalloc/g' \
                -e 's/\([^x]\)realloc/\1xrealloc/g' \
+               -e 's/\([ \t;,(]\)free\([ \t]*[&(),]\)/\1xfree\2/g' \
+               -e 's/\([ \t;,(]\)free$$/\1xfree/g' \
                -e 's/yy_flex_xrealloc/yyxrealloc/g' \
              < $@ > $@.new && \
            rm -f $@ && \
This page took 0.026975 seconds and 4 git commands to generate.