From d5a3389886c9dc7f3492ef5369009c40d85b0f3c Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 13 Nov 2007 12:41:41 +0000 Subject: * common.mk (parse.c), ext/ripper/depend (ripper.c): process after bison with sed. [ruby-dev:32204] * ruby.c (proc_options): use yydebug in cmdline_options. * ruby.c (process_options): set yydebug flag of parser. * parse.y (yydebug): moved into struct parser_params. * parse.y (rb_parser_get_yydebug, rb_parser_set_yydebug): parser generic methods. * */Makefile.sub (parse.c): moved to common.mk. * tool/ytab.sed: comment out yydebug definition, and substitute yyerror with parser_yyerror. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- wince/Makefile.sub | 5 ----- 1 file changed, 5 deletions(-) (limited to 'wince/Makefile.sub') diff --git a/wince/Makefile.sub b/wince/Makefile.sub index 8107c75b13..07fc4d41a5 100644 --- a/wince/Makefile.sub +++ b/wince/Makefile.sub @@ -530,11 +530,6 @@ end lex.c: {$(srcdir)}lex.c.blt copy $(?:/=\) $@ -{$(srcdir)}.y.c: - $(YACC) $(YFLAGS) $(<:\=/) - sed -e "s!^ *extern char \*getenv();!/* & */!;s/^\(#.*\)y\.tab/\1parse/" y.tab.c > $@ - @del y.tab.c - !include $(srcdir)/common.mk $(OBJS): {$(srcdir)}win32/win32.h -- cgit v1.2.3