diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-15 00:17:21 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-15 00:17:21 +0000 |
commit | 28398e91f114f1b47d51965e03e5198e30268e18 (patch) | |
tree | 3a481ead0d2091dc32c700f2edd63330c02cb1a9 /common.mk | |
parent | 02136ebbb54e0cda1aa928a971d8ef59a4659735 (diff) | |
download | ruby-28398e91f114f1b47d51965e03e5198e30268e18.tar.gz |
* common.mk (.y.c): use SRC_FILE which contains slashes instead of
backslashes. [ruby-core:22891]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -435,7 +435,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 $(SRC_FILE) sed -f $(srcdir)/tool/ytab.sed -e "/^#/s!y\.tab\.c!$@!" y.tab.c > $@.new @$(MV) $@.new $@ sed -e "/^#line.*y\.tab\.h/d;/^#line.*parse\.y/d" y.tab.h > $(@:.c=.h).new |