diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-11 16:08:24 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-11 16:08:24 +0000 |
commit | 9be9e89b9e2ab0d331cf8a265c319c803c1e7a5b (patch) | |
tree | 4d8357e93ab16f2721b4d5545db426ef7733b425 /common.mk | |
parent | 9322b1f5b89ff95aa76b447b778bb36d4ba4a6d9 (diff) | |
download | ruby-9be9e89b9e2ab0d331cf8a265c319c803c1e7a5b.tar.gz ruby-9be9e89b9e2ab0d331cf8a265c319c803c1e7a5b.tar.xz ruby-9be9e89b9e2ab0d331cf8a265c319c803c1e7a5b.zip |
* tool/ytab.sed: replaces backslashes with slash for nmake.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22893 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 $< 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 |