+2008-10-27  Pedro Alves  <pedro@codesourcery.com>
+
+       * Makefile.in (.y.c, .l.c): sed free to xfree.
+
 2008-10-27  Pedro Alves  <pedro@codesourcery.com>
 
        * Makefile.in (INSTALLED_LIBS, CLIBS): Remove reference to
 
             -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
                -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 $@ && \