Skip to content

Commit

Permalink
* common.mk (parse.h): removes line directives.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed Oct 1, 2008
1 parent 837d3aa commit e5afadd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common.mk
Expand Up @@ -403,7 +403,7 @@ parse.h {$(VPATH)}parse.h: {$(VPATH)}parse.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 "/^#/s!y\.tab\.h!$(@:.c=.h)!" y.tab.h > $(@:.c=.h).new
sed -e "/^#line.*y\.tab\.h/d;/^#line.*parse\.y/d" y.tab.h > $(@:.c=.h).new
@$(IFCHANGE) $(@:.c=.h) $(@:.c=.h).new
@$(RM) y.tab.c y.tab.h

Expand Down

0 comments on commit e5afadd

Please sign in to comment.