Commit 738c0dd8 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Bug 740446 - invalid copydoc target does not result in warning

parent 200b828e
...@@ -7122,6 +7122,12 @@ static QCString processCopyDoc(const char *data,uint &len) ...@@ -7122,6 +7122,12 @@ static QCString processCopyDoc(const char *data,uint &len)
isBrief?"brief":"details",id.data()); isBrief?"brief":"details",id.data());
} }
} }
else
{
warn_doc_error(g_fileName,doctokenizerYYlineno,
"@copy%s or @copydoc target '%s' not found", isBrief?"brief":"details",
id.data());
}
// skip over command // skip over command
i=j; i=j;
} }
......
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