aboutsummaryrefslogtreecommitdiffstats
path: root/tool/ytab.sed
Commit message (Collapse)AuthorAgeFilesLines
* ytab.sed: for bison 2nobu2015-12-141-0/+3
| | | | | | | * tool/ytab.sed: substitute `fprintf`s used directory in yy_reduce_print by bison 2. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ytab.sed: replace argumentnobu2015-12-131-10/+3
| | | | | | | * tool/ytab.sed: substitute the first argument of YYFPRINTF, instead of substitution by preprocessor, not to redefine stderr. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ytab.sed: work aroundnobu2015-12-131-0/+10
| | | | | | | * tool/ytab.sed: work around for platforms where vairadic macro is not available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: lex_state trace by yydebugnobu2015-12-131-2/+18
| | | | | | | | | | * parse.y (trace_lex_state): trace lex_state changes if yydebug is set, and send the messages to rb_stdout. * parse.y (rb_parser_printf): store YYPRINTF messages per lines so that lex_state traces do not mix. * tool/ytab.sed: add parser argument to yy_stack_print too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/ytab.sed: fix for Bison 2.6.nobu2012-07-251-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/ytab.sed: replaces backslashes with slash for nmake.nobu2009-03-111-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/ytab.sed: skip yydestruct hack unless yymsg exists, for bisonnobu2007-12-281-1/+1
| | | | | | | 1.8 series. [ruby-dev:32825] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (parse.c): depends on tool/ytab.sed.nobu2007-12-251-1/+21
| | | | | | | * tool/ytab.sed: hack for bison 2.1. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/ytab.sed: get rid of GNU sed feature. a patch from Laurentnobu2007-11-131-1/+1
| | | | | | | Sansonetti <laurent.sansonetti AT gmail.com> in [ruby-core:13470]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (parse.c), ext/ripper/depend (ripper.c): process afternobu2007-11-131-0/+10
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