summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-15 15:40:14 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-15 15:40:14 +0000
commit905114d69f2b416500662a7e40f9ce4958e797d0 (patch)
tree233acb865b478648865562fbdb076245767b31c4 /tool
parente1ccf2699d1789f46c33da217a8aed61847727f5 (diff)
merges r21529 from trunk into ruby_1_9_1.
* tool/file2lastrev.rb: RUBY_REVISION must be an integer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rw-r--r--tool/file2lastrev.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/file2lastrev.rb b/tool/file2lastrev.rb
index ea11304703..ddc83e8631 100644
--- a/tool/file2lastrev.rb
+++ b/tool/file2lastrev.rb
@@ -82,7 +82,7 @@ case $output
when :changed, nil
puts changed
when :revision_h
- puts "#define RUBY_REVISION #{changed}"
+ puts "#define RUBY_REVISION #{changed.to_i}"
when :doxygen
puts "r#{changed}/r#{last}"
else