lib/gloo/expr/expression.rb in gloo-0.4.0 vs lib/gloo/expr/expression.rb in gloo-0.5.0
- old
+ new
@@ -83,9 +83,10 @@
return Gloo::Core::Op.create_op( token ) if Gloo::Core::Op.op?( token )
return LBoolean.new( token ) if LBoolean.boolean?( token )
return LInteger.new( token ) if LInteger.integer?( token )
return LString.new( token ) if LString.string?( token )
+ return LDecimal.new( token ) if LDecimal.decimal?( token )
# last chance: an Object reference
return Gloo::Core::Pn.new( token )
end