From 966ef007d56bcdb52ae4a69c6307fca38d311a96 Mon Sep 17 00:00:00 2001 From: Benjamin Attal Date: Wed, 4 Jun 2014 23:02:04 -0400 Subject: [PATCH] Debug parse init function. --- parsers/ruby/lib/parser.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/parsers/ruby/lib/parser.rb b/parsers/ruby/lib/parser.rb index b2169a2..eec293b 100644 --- a/parsers/ruby/lib/parser.rb +++ b/parsers/ruby/lib/parser.rb @@ -119,11 +119,9 @@ module Bitshift end def to_s - new_symbols = Hash.new + new_symbols = Hash.new {|hash, key| hash[key] = Hash.new} symbols.each do |type, sym_list| - new_symbols[type.to_s] = Hash.new - sym_list.each do |name, sym| new_symbols[type.to_s][name.to_s] = { "assignments" => sym[:assignments],