summaryrefslogtreecommitdiffstats
path: root/tools/genruby.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tools/genruby.rb')
-rwxr-xr-xtools/genruby.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/genruby.rb b/tools/genruby.rb
index dd0e8f2..7d516e4 100755
--- a/tools/genruby.rb
+++ b/tools/genruby.rb
@@ -92,7 +92,7 @@ TYPES_USAGE = {}
#
def set_type t, sym
if TYPES[t].nil?
- v = ( TYPES[sym].nil? ? ':'+sym.downcase : TYPES[sym][1..-1] )
+ v = ( TYPES[sym].nil? ? ':'+sym.downcase : TYPES[sym] )
TYPES[t] = v
puts " define type : #{t} => #{v}"
return v