summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-03-28 16:49:15 (GMT)
committerBrad King <brad.king@kitware.com>2001-03-28 16:49:15 (GMT)
commite318d87aff11fbd7dd94c3e6a5533edff868e0ff (patch)
treec2662f394e31f1cab1f368259e4e249abfca4878 /Source/cmSystemTools.cxx
parent9b079becdf11669f9fffd1beb9e89582d667c961 (diff)
downloadCMake-e318d87aff11fbd7dd94c3e6a5533edff868e0ff.zip
CMake-e318d87aff11fbd7dd94c3e6a5533edff868e0ff.tar.gz
CMake-e318d87aff11fbd7dd94c3e6a5533edff868e0ff.tar.bz2
ERR: Blank line regular expression updated to allow whitespace on the line.
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r--Source/cmSystemTools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 6216fde..a606bb4 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -208,7 +208,7 @@ bool cmSystemTools::ParseFunction(std::ifstream& fin,
if(fin.getline(inbuffer, BUFFER_SIZE ) )
{
- cmRegularExpression blankLine("^$");
+ cmRegularExpression blankLine("^[ \t]*$");
cmRegularExpression comment("^[ \t]*#.*$");
cmRegularExpression oneLiner("^[ \t]*([A-Za-z_0-9]*)[ \t]*\\((.*)\\)[ \t]*$");
cmRegularExpression multiLine("^[ \t]*([A-Za-z_0-9]*)[ \t]*\\((.*)$");