mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-16 17:30:43 -07:00
Collapse float and int into 'number'
This commit is contained in:
@@ -52,7 +52,7 @@ module Liquid
|
||||
token = @tokens[@p]
|
||||
if token[0] == :id
|
||||
variable_signature
|
||||
elsif [:string, :integer, :float].include? token[0]
|
||||
elsif [:string, :number].include? token[0]
|
||||
consume
|
||||
token[1]
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user