From 35e098c1b1217c99667a0b342915f94fc3d1e03a Mon Sep 17 00:00:00 2001 From: usa Date: Thu, 30 Oct 2003 16:40:29 +0000 Subject: [PATCH] * wince/Makefile.sub, win32/Makefile.sub (.y.c): allow white spaces at the beginning of line to remove by sed. (ruby-bugs-ja PR#580) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ win32/Makefile.sub | 2 +- wince/Makefile.sub | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1daa95afb9..6343a87f57 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Oct 31 01:38:14 2003 NAKAMURA Usaku + + * wince/Makefile.sub, win32/Makefile.sub (.y.c): allow white spaces + at the beginning of line to remove by sed. (ruby-bugs-ja PR#580) + Fri Oct 31 01:02:24 2003 Yukihiro Matsumoto * compar.c (cmp_equal): protect exceptions from <=> comparison diff --git a/win32/Makefile.sub b/win32/Makefile.sub index cc136ff281..0922ee2e19 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -513,7 +513,7 @@ $(RUBY_INSTALL_NAME).rc $(RUBYW_INSTALL_NAME).rc $(RUBY_SO_NAME).rc: rbconfig.rb {$(srcdir)}.y.c: $(YACC) $(YFLAGS) $(<:\=/) - sed -e "s!^extern char \*getenv();!/* & */!;s/^\(#.*\)y\.tab/\1parse/" y.tab.c > $@ + sed -e "s!^ *extern char \*getenv();!/* & */!;s/^\(#.*\)y\.tab/\1parse/" y.tab.c > $@ @del y.tab.c {$(srcdir)}parse.c: parse.y diff --git a/wince/Makefile.sub b/wince/Makefile.sub index f8ed157f16..5a7178fcba 100644 --- a/wince/Makefile.sub +++ b/wince/Makefile.sub @@ -553,7 +553,7 @@ $(RUBY_INSTALL_NAME).rc $(RUBYW_INSTALL_NAME).rc $(RUBY_SO_NAME).rc: rbconfig.rb {$(srcdir)}.y.c: $(YACC) $(YFLAGS) $(<:\=/) - sed -e "s!^extern char \*getenv();!/* & */!;s/^\(#.*\)y\.tab/\1parse/" y.tab.c > $@ + sed -e "s!^ *extern char \*getenv();!/* & */!;s/^\(#.*\)y\.tab/\1parse/" y.tab.c > $@ @del y.tab.c {$(srcdir)}parse.c: parse.y