summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmCableDefineSetCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCableDefineSetCommand.cxx b/Source/cmCableDefineSetCommand.cxx
index f7552b6..6f19280 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 = "_";