From 18fc1b0a12c249cc406dcd6472d14b5b8d3a8c9a Mon Sep 17 00:00:00 2001 From: kevin Date: Mon, 25 Feb 2013 11:40:37 -0800 Subject: [PATCH] cmLex.c: Fixed bug where a '-' with no following digits was interpretted as a integer. --- cmLex.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cmLex.c b/cmLex.c index 34daff6..7e9eb89 100644 --- a/cmLex.c +++ b/cmLex.c @@ -200,10 +200,14 @@ unsigned _cmLexRealMatcher( cmLex* p, const cmChar_t* cp, unsigned cn, const cm unsigned _cmLexIntMatcher( cmLex* p, const cmChar_t* cp, unsigned cn, const cmChar_t* keyStr ) { unsigned i = 0; + bool signFl = false; for(; i