diff options
| author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-31 13:01:51 +0000 |
|---|---|---|
| committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-31 13:01:51 +0000 |
| commit | ef34e7707dbbfd8cb2ac873ff2df68202c3eb5dc (patch) | |
| tree | 9ec257f6c792b277ae3e1467f56b7da68d494017 /common.mk | |
| parent | acdd2dbaf3ea8958d480ecd7af7d2ede2d47087d (diff) | |
merges r22964 from trunk into ruby_1_9_1.
--
* common.mk (.y.c): use SRC_FILE which contains slashes instead of
backslashes. [ruby-core:22891]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@25584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
| -rw-r--r-- | common.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -422,7 +422,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 |
