# File EFL.rb, line 150 def prod(i_file, o_file, sub_list = nil, name = nil) @sub_hash = {} unless @sub_hash @prod_hash = {} unless @prod_hash sub_list = @sub_hash.keys if !sub_list or sub_list == 'all' name = 'anonymous_' + @prod_hash.length.to_s unless name eval Error.arg_class(['i_file', 'String'], ['o_file', 'String'], ['sub_list', 'Array'], ['name', 'String']) eval Error.without_declaration('sub') eval Error.collision('prod') @prod_hash[name] = Production.new(i_file, o_file, sub_list) end