summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--common.mk2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1c96edada3..4e7d64c0ef 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/common.mk b/common.mk
index 390b443fee..66f1342204 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