Correct Parsing of Floating Point Literals, issue #253 (#277)

* Corrects the type attribute of a constant node when parsing doubles. This sets the type attribute to either 'float', 'long double' or 'double' depending on if 'f|F', 'l|L' or '' is specified at the end of the constant definition.

* Add tests for previous changes.
2 files changed