lib/code/parser/list.rb in code-ruby-0.7.4 vs lib/code/parser/list.rb in code-ruby-0.7.5
- old
+ new
@@ -36,11 +36,10 @@
(whitespace? << code << whitespace? << comma)
end
def root
(
- opening_square_bracket.ignore << whitespace? <<
- element.repeat <<
+ opening_square_bracket.ignore << whitespace? << element.repeat <<
(whitespace? << closing_square_bracket.ignore).maybe
).aka(:list) | String
end
end
end