lib/liquid/parser.rb in liquid-3.0.3 vs lib/liquid/parser.rb in liquid-3.0.4
- old
+ new
@@ -73,10 +73,10 @@
str
end
def variable_signature
str = consume(:id)
- if look(:open_square)
+ while look(:open_square)
str << consume
str << expression
str << consume(:close_square)
end
if look(:dot)