mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-08 06:40:48 -06:00
BUG: Multi-line functions must also increment line number, not the pointer.
This commit is contained in:
@@ -220,7 +220,7 @@ bool cmListFileCache::ParseFunction(std::ifstream& fin,
|
||||
// read lines until the end paren is found
|
||||
if(fin.getline(inbuffer, BUFFER_SIZE ) )
|
||||
{
|
||||
++line;
|
||||
if(line) { ++*line; }
|
||||
RemoveComments(inbuffer);
|
||||
// Check for comment lines and ignore them.
|
||||
if(blankLine.find(inbuffer))
|
||||
|
||||
Reference in New Issue
Block a user