diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | win32/Makefile.sub | 2 | ||||
-rw-r--r-- | wince/Makefile.sub | 2 |
3 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Fri Oct 31 01:38:14 2003 NAKAMURA Usaku <usa@ruby-lang.org> + + * 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 <matz@ruby-lang.org> * compar.c (cmp_equal): protect exceptions from <=> comparison diff --git a/win32/Makefile.sub b/win32/Makefile.sub index cc136ff28..0922ee2e1 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 f8ed157f1..5a7178fcb 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 |