lib/import/shake_grammar/catcher.rb in tracksperanto-1.6.5 vs lib/import/shake_grammar/catcher.rb in tracksperanto-1.6.6
- old
+ new
@@ -43,10 +43,12 @@
end
def unwrap_atom(atom)
kind = atom.shift
case kind
- when :retval, :atom_i, :atom_c, :atom_f
+ when :arr
+ atom.map{|e| unwrap_atom(e)}
+ when :retval, :atom_i, :atom_c, :atom_f, :atom_at_i, :atom_at_f
atom.shift
else
:unknown
end
end
\ No newline at end of file