diff options
-rw-r--r-- | Source/cmCableDefineSetCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCableDefineSetCommand.cxx b/Source/cmCableDefineSetCommand.cxx index f7552b65aa..6f192802fd 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 = "_"; |