ruby-changes:49836
From: mame <ko1@a...>
Date: Fri, 19 Jan 2018 20:10:36 +0900 (JST)
Subject: [ruby-changes:49836] mame:r61954 (trunk): ext/ripper/tools/preproc.rb: Remove `/*%c%` handling
mame 2018-01-19 20:10:30 +0900 (Fri, 19 Jan 2018) New Revision: 61954 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61954 Log: ext/ripper/tools/preproc.rb: Remove `/*%c%` handling It was replaced with `/*% ripper[brace]: ... %*/` Modified files: trunk/ext/ripper/tools/preproc.rb Index: ext/ripper/tools/preproc.rb =================================================================== --- ext/ripper/tools/preproc.rb (revision 61953) +++ ext/ripper/tools/preproc.rb (revision 61954) @@ -81,10 +81,6 @@ def grammar(f, out) https://github.com/ruby/ruby/blob/trunk/ext/ripper/tools/preproc.rb#L81 out << DSL.new($2, ($1 || "").split(",")).generate << $/ when %r</\*%%%\*/> out << '#if 0' << $/ - when %r</\*%c%\*/> - out << '/*' << $/ - when %r</\*%c> - out << '*/' << $/ when %r</\*%> out << '#endif' << $/ when %r<%\*/> -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/