lib/code/parser/code.rb in code-ruby-0.10.3 vs lib/code/parser/code.rb in code-ruby-0.10.4
- old
+ new
@@ -18,10 +18,10 @@
def present
(whitespace? << statement << whitespace?).repeat(1)
end
def root
- present | whitespace?.then { [] }
+ present | whitespace?.aka(:whitespace).then { [] }
end
end
end
end