coatl / redparse

RedParse is a ruby parser written in pure ruby.
redparse.rubyforge.org
GNU Lesser General Public License v2.1
24 stars 2 forks source link

float literal text is not available as a string #8

Open coatl opened 14 years ago

coatl commented 14 years ago

a float value, such as: 1.23 is converted to this node: LiteralNode[1.23] But, you can't get the original text out of it; internally, the #value is converted to a Float. You should be able to get the string as well.