Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doxverilog
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
doxverilog
Commits
808b6174
Commit
808b6174
authored
Sep 03, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #217 from albert-github/feature/bug_735745
Bug 735745 - Spurious ASSERT message
parents
df276369
fff03ab9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
docparser.cpp
src/docparser.cpp
+10
-1
No files found.
src/docparser.cpp
View file @
808b6174
...
...
@@ -4671,12 +4671,15 @@ int DocParamList::parse(const QCString &cmdName)
DBG
((
"DocParamList::parse() start
\n
"
));
g_nodeStack
.
push
(
this
);
DocPara
*
par
=
0
;
QCString
saveCmdName
=
cmdName
;
int
tok
=
doctokenizerYYlex
();
if
(
tok
!=
TK_WHITESPACE
)
{
warn_doc_error
(
g_fileName
,
doctokenizerYYlineno
,
"expected whitespace after %s command"
,
qPrint
(
cmdName
));
retval
=
0
;
goto
endparamlist
;
}
doctokenizerYYsetStateParam
();
tok
=
doctokenizerYYlex
();
...
...
@@ -4716,7 +4719,13 @@ int DocParamList::parse(const QCString &cmdName)
retval
=
0
;
goto
endparamlist
;
}
ASSERT
(
tok
==
TK_WHITESPACE
);
if
(
tok
!=
TK_WHITESPACE
)
/* premature end of comment block */
{
warn_doc_error
(
g_fileName
,
doctokenizerYYlineno
,
"unexpected token in comment block while parsing the "
"argument of command %s"
,
qPrint
(
saveCmdName
));
retval
=
0
;
goto
endparamlist
;
}
par
=
new
DocPara
(
this
);
m_paragraphs
.
append
(
par
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment