зеркало из https://github.com/github/ruby.git
* tool/gen_dummy_probes.rb: remove comments in probes.d to fix the
compilation error introduced by r38755. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
9aa75d08ce
Коммит
2cdd17b458
|
@ -1,3 +1,8 @@
|
|||
Thu Jan 10 15:35:55 2013 Shugo Maeda <shugo@ruby-lang.org>
|
||||
|
||||
* tool/gen_dummy_probes.rb: remove comments in probes.d to fix the
|
||||
compilation error introduced by r38755.
|
||||
|
||||
Thu Jan 10 11:15:04 2013 Kenta Murata <mrkn@cookpad.com>
|
||||
|
||||
* numeric.c (do_coerce): speed optimization by using rb_check_funcall
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
text = ARGF.read
|
||||
text.gsub!(/^(?!#)(.*)/){$1.upcase}
|
||||
|
||||
# remove comments
|
||||
text.gsub!(%r'/\*.*?\*/'m, '')
|
||||
|
||||
# remove the pragma declarations
|
||||
text.gsub!(/^#pragma.*$/, '')
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче