Fix bad range parsing.

This commit is contained in:
Tristan Hume
2013-09-04 18:13:31 -04:00
parent e8b41c8856
commit 7c5b3e0c3b
3 changed files with 11 additions and 2 deletions
+1 -2
View File
@@ -53,8 +53,7 @@ module Liquid
elsif token.first == :open_round
consume
first = expression
consume(:dot)
consume(:dot)
consume(:dotdot)
last = expression
consume(:close_round)
"(#{first}..#{last})"