Sfoglia il codice sorgente

Debug parse init function.

tags/v1.0^2
Benjamin Attal 10 anni fa
parent
commit
966ef007d5
1 ha cambiato i file con 1 aggiunte e 3 eliminazioni
  1. +1
    -3
      parsers/ruby/lib/parser.rb

+ 1
- 3
parsers/ruby/lib/parser.rb Vedi File

@@ -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],


Caricamento…
Annulla
Salva