From 04c24cb686bdd6c8f96f02be704cc9cea92b27bc Mon Sep 17 00:00:00 2001 From: Dick Hollenbeck Date: Mon, 1 Jul 2013 09:37:03 -0500 Subject: [PATCH] dsnlexer.cpp's isNumber() was recently stupid-ized, un-stupid-ize it. --- common/dsnlexer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/dsnlexer.cpp b/common/dsnlexer.cpp index c44ca0ca09..42a9f2bb9c 100644 --- a/common/dsnlexer.cpp +++ b/common/dsnlexer.cpp @@ -480,7 +480,7 @@ static bool isNumber( const char* cp, const char* limit ) } } - return sawNumber; + return sawNumber && cp==limit; }