From e318d87aff11fbd7dd94c3e6a5533edff868e0ff Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 28 Mar 2001 11:49:15 -0500 Subject: [PATCH] ERR: Blank line regular expression updated to allow whitespace on the line. --- Source/cmSystemTools.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 6216fde2d..a606bb490 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]*\\((.*)$");