lib/junoser/transformer.rb in junoser-0.2.1 vs lib/junoser/transformer.rb in junoser-0.2.2

- old
+ new

@@ -38,9 +38,13 @@ rule(oneline: simple(:str)) do str.to_s.gsub("\n", ' ') end + rule(oneline: sequence(:strs)) do + strs.join(' ') + end + def self.remove_slash_asterisk(array) open = array.index("arg(/*)\n") close = array.index("arg(*/)")