PP: Clean up and rationalize floating-point-number scanner.

This encapsulates where the string could overflow, removing 40 lines
of fragile code.  It also improves handling of numbers that are too long.

There are a couple of open issues that could related to this function
being more rational (locale dependence, 1.#INF).
This commit is contained in:
John Kessenich 2017-01-12 12:00:59 -07:00
parent e86fc0946f
commit 913e3b686a
3 changed files with 73 additions and 112 deletions

View file

@ -2,5 +2,5 @@
// For the version, it uses the latest git tag followed by the number of commits.
// For the date, it uses the current date (when then script is run).
#define GLSLANG_REVISION "Overload400-PrecQual.1760"
#define GLSLANG_DATE "11-Jan-2017"
#define GLSLANG_REVISION "Overload400-PrecQual.1764"
#define GLSLANG_DATE "12-Jan-2017"