From d420911e461bab61fb94dc644058c7466b6fd8d5 Mon Sep 17 00:00:00 2001 From: king Date: Wed, 28 Mar 2001 16:49:15 +0000 Subject: [PATCH] ERR: Blank line regular expression updated to allow whitespace on the line. --- Source/cmSystemTools.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index ee5c23902..b898c2e29 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -3,8 +3,8 @@ Program: Insight Segmentation & Registration Toolkit Module: $RCSfile: cmSystemTools.cxx,v $ Language: C++ - Date: $Date: 2001-03-19 16:00:23 $ - Version: $Revision: 1.23 $ + Date: $Date: 2001-03-28 16:49:15 $ + Version: $Revision: 1.24 $ Copyright (c) 2000 National Library of Medicine @@ -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]*\\((.*)$"); -- 2.11.4.GIT