diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-05-09 17:44:30 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-05-09 17:44:30 (GMT) |
commit | 1dc7ae38ead50498b9e813d7c6e96f9d850b45ea (patch) | |
tree | df177ba3354526362dee9af2ba9bcba93cc61cca | |
parent | 54dcf6932ab03c7d4505ca5f88cb89a223839e66 (diff) | |
download | CMake-1dc7ae38ead50498b9e813d7c6e96f9d850b45ea.zip CMake-1dc7ae38ead50498b9e813d7c6e96f9d850b45ea.tar.gz CMake-1dc7ae38ead50498b9e813d7c6e96f9d850b45ea.tar.bz2 |
BUG: match called on invalid number
-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 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 = "_"; |