Commit 8a275e79 authored by Brad King's avatar Brad King
Browse files

BUG: Multi-line functions must also increment line number, not the pointer.

parent be66f581
......@@ -220,7 +220,7 @@ bool cmListFileCache::ParseFunction(std::ifstream& fin,
// read lines until the end paren is found
if(fin.getline(inbuffer, BUFFER_SIZE ) )
if(line) { ++*line; }
// Check for comment lines and ignore them.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment