diff options
author | Brad King <brad.king@kitware.com> | 2001-03-28 16:49:15 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2001-03-28 16:49:15 (GMT) |
commit | e318d87aff11fbd7dd94c3e6a5533edff868e0ff (patch) | |
tree | c2662f394e31f1cab1f368259e4e249abfca4878 /Source/cmSystemTools.cxx | |
parent | 9b079becdf11669f9fffd1beb9e89582d667c961 (diff) | |
download | CMake-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.cxx | 2 |
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]*\\((.*)$"); |