diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-28 02:12:34 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-28 02:12:34 +0000 |
commit | 842272540886ff1da58e690907b08f2811a86607 (patch) | |
tree | 69e0fc86b769cf95b1ec63ce4c593b2a58906460 /tool/mkconfig.rb | |
parent | 1095705c4218f8f752210f1a0b4f78d96ad675ac (diff) | |
download | ruby-842272540886ff1da58e690907b08f2811a86607.tar.gz |
Moved version numbers
* Define major and minor version numbers only in the public
include/ruby/version.h header, as the API version numbers.
* Define only teeny version number in the private version.h
header.
* RUBY_VERSION moved to version.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/mkconfig.rb')
-rwxr-xr-x | tool/mkconfig.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/mkconfig.rb b/tool/mkconfig.rb index 5da0e7da5a..fdb284b1a9 100755 --- a/tool/mkconfig.rb +++ b/tool/mkconfig.rb @@ -208,7 +208,7 @@ IO.foreach(File.join(srcdir, "version.h")) do |l| end end %w[MAJOR MINOR TEENY PATCHLEVEL].each do |v| - print " CONFIG[#{v.dump}] = #{versions[v].dump}\n" + print " CONFIG[#{v.dump}] = #{(versions[v]||vars[v]).dump}\n" end dest = drive ? %r'= "(?!\$[\(\{])(?i:[a-z]:)' : %r'= "(?!\$[\(\{])' |