mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-13 12:59:55 -05:00
ERR: Blank line regular expression updated to allow whitespace on the line.
This commit is contained in:
@@ -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]*\\((.*)$");
|
||||
|
||||
Reference in New Issue
Block a user