summaryrefslogtreecommitdiffstats
path: root/common.mk
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-14 16:09:00 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-14 16:09:00 +0000
commit5aed33710b9692369eba207f9655adc2b842bade (patch)
treea22f0072c25107507833ca45e67317fea1b6f84a /common.mk
parentd1032e518e0c70f64efd68bde6c871d9310ba6f9 (diff)
downloadruby-5aed33710b9692369eba207f9655adc2b842bade.tar.gz
ruby-5aed33710b9692369eba207f9655adc2b842bade.tar.xz
ruby-5aed33710b9692369eba207f9655adc2b842bade.zip
* common.mk ({$(srcdir)}.y.c): escape backslash.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index 390b443fe..66f134220 100644
--- a/common.mk
+++ b/common.mk
@@ -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