2004-10-15 Michael Chastain <mec.gnu@mindspring.com>

From Andreas Schwab <schwab@suse.de>:
	* Makefile.in (.y.c, .l.c.): Fix the substitutions for
	for xmalloc and xrealloc.
This commit is contained in:
Michael Chastain 2004-10-15 16:17:34 +00:00
parent 34a17005a8
commit 2941da8cd7
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2004-10-15 Michael Chastain <mec.gnu@mindspring.com>
From Andreas Schwab <schwab@suse.de>:
* Makefile.in (.y.c, .l.c.): Fix the substitutions for
for xmalloc and xrealloc.
2004-10-15 Andrew Cagney <cagney@gnu.org>
* ada-exp.y, ada-lex.l: Use xmalloc and xrealloc through out.

View File

@ -1575,8 +1575,8 @@ po/$(PACKAGE).pot: force
-e '/extern.*realloc/d' \
-e '/extern.*free/d' \
-e '/include.*malloc.h/d' \
-e 's/[^x]malloc/xmalloc/g' \
-e 's/[^x]realloc/xrealloc/g' \
-e 's/\([^x]\)malloc/\1xmalloc/g' \
-e 's/\([^x]\)realloc/\1xrealloc/g' \
-e '/^#line.*y.tab.c/d' \
< $@.tmp > $@.new
-rm $@.tmp
@ -1589,8 +1589,8 @@ po/$(PACKAGE).pot: force
-e '/extern.*realloc/d' \
-e '/extern.*free/d' \
-e '/include.*malloc.h/d' \
-e 's/[^x]malloc/xmalloc/g' \
-e 's/[^x]realloc/xrealloc/g' \
-e 's/\([^x]\)malloc/\1xmalloc/g' \
-e 's/\([^x]\)realloc/\1xrealloc/g' \
-e 's/yy_flex_xrealloc/yyxrealloc/g' \
< $@ > $@.new && \
rm -f $@ && \