From 1dc7ae38ead50498b9e813d7c6e96f9d850b45ea Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 9 May 2001 13:44:30 -0400 Subject: [PATCH] BUG: match called on invalid number --- Source/cmCableDefineSetCommand.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmCableDefineSetCommand.cxx b/Source/cmCableDefineSetCommand.cxx index f7552b65a..6f192802f 100644 --- a/Source/cmCableDefineSetCommand.cxx +++ b/Source/cmCableDefineSetCommand.cxx @@ -220,7 +220,7 @@ cmCableDefineSetCommand::GenerateTag(const std::string& element, } // Test for basic floating-point type - regex.compile("^[ \t]*(long[ ])?[ \t]*(float|double)[ \t]*$"); + regex.compile("^[ \t]*(long[ ]|)[ \t]*(float|double)[ \t]*$"); if(regex.find(element)) { tag = "_";