瀏覽代碼

Debug parse init function.

tags/v1.0^2
Benjamin Attal 10 年之前
父節點
當前提交
966ef007d5
共有 1 個檔案被更改,包括 1 行新增3 行删除
  1. +1
    -3
      parsers/ruby/lib/parser.rb

+ 1
- 3
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],


Loading…
取消
儲存