1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* common.mk ({$(srcdir)}.y.c): escape backslash.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2008-08-14 16:09:00 +00:00
parent 8eda80ff2c
commit f9ea6ed5a9
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Fri Aug 15 01:07:16 2008 NARUSE, Yui <naruse@ruby-lang.org>
* common.mk ({$(srcdir)}.y.c): escape backslash.
Fri Aug 15 01:05:39 2008 Tanaka Akira <akr@fsij.org>
* transcode.c (econv_primitive_convert): set destination_buffer

View file

@ -392,7 +392,7 @@ PHONY:
parse.h {$(VPATH)}parse.h: {$(VPATH)}parse.c
{$(srcdir)}.y.c:
$(YACC) -d $(YFLAGS) -o y.tab.c $(<:\=/)
$(YACC) -d $(YFLAGS) -o y.tab.c $(<:\\=/)
sed -e "/^#/s!y\.tab\.h!$(@:.c=.h)!" y.tab.h > $(@:.c=.h).new
@$(MV) $(@:.c=.h).new $(@:.c=.h)
sed -f $(srcdir)/tool/ytab.sed -e "/^#/s!y\.tab\.c!$@!" y.tab.c > $@.new