Граф коммитов

5 Коммитов

Автор SHA1 Сообщение Дата
nobu bc0f131277 prelude.c.tmpl: require_relative
* template/prelude.c.tmpl (Prelude#translate): support for
  require_relative and comments followed by #.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-03 23:25:01 +00:00
nobu f25c052bf2 prelude.c.tmpl: no preludes, no code.
* template/prelude.c.tmpl: no code if no prelude code is given.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-27 08:10:21 +00:00
akr 7df1831bae * template/prelude.c.tmpl: Don't expand RbConfig::Config[...].
It is not used now.

* common.mk: prelude.c and golf_prelude.c doesn't depend on rbconfig.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-25 15:22:01 +00:00
nobu 16ba360423 prelude.c.tmpl: strip prefix
* template/prelude.c.tmpl (Prelude#translate): strip VPATH prefix
  from prelude names, so that srcdir diffrences do not make the
  generated code diffrent.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-19 01:08:00 +00:00
nobu 8e677dc443 template/prelude.c.tmpl
* template/prelude.c.tmpl: move from tool/compile_prelude.rb and
  expand by generic_erb.rb.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-11 09:09:14 +00:00