summaryrefslogtreecommitdiffstats
path: root/src/docparser.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-04-19 16:27:10 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-04-19 16:27:10 (GMT)
commite148ac40cb0c5dee845f0a43c4c644dac1efc6a1 (patch)
tree1efaf47cd83c365908e5947cd0b4d2ddf603034a /src/docparser.cpp
parentcd63af1e16e6194da328d95a81b546e27b873e78 (diff)
downloadDoxygen-e148ac40cb0c5dee845f0a43c4c644dac1efc6a1.zip
Doxygen-e148ac40cb0c5dee845f0a43c4c644dac1efc6a1.tar.gz
Doxygen-e148ac40cb0c5dee845f0a43c4c644dac1efc6a1.tar.bz2
Crash in case of usage of \line without \include
In case thee `line` command is used without previous `\inclide` or `\dontinclude` command doxygen will crash due to a non initialized fd. We get the message: warning: No previous '\include' or \dontinclude' command for '\line' present also a small correcting regarding the warning message is done.
Diffstat (limited to 'src/docparser.cpp')
-rw-r--r--src/docparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/docparser.cpp b/src/docparser.cpp
index 1c8479b..27d18f3 100644
--- a/src/docparser.cpp
+++ b/src/docparser.cpp
@@ -2063,7 +2063,7 @@ void DocIncOperator::parse()
if (g_includeFileName.isEmpty())
{
warn_doc_error(g_fileName,doctokenizerYYlineno,
- "No previous '\\include' or \\dontinclude' command for '\\%s' present",
+ "No previous '\\include' or '\\dontinclude' command for '\\%s' present",
typeAsString());
}