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
16bc7735
Commit
16bc7735
authored
Aug 22, 2013
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid double brief description when there are no detailed docs
parent
72edccb2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
17 deletions
+20
-17
definition.cpp
src/definition.cpp
+20
-17
No files found.
src/definition.cpp
View file @
16bc7735
...
@@ -647,12 +647,14 @@ void Definition::_setBriefDescription(const char *b,const char *briefFile,int br
...
@@ -647,12 +647,14 @@ void Definition::_setBriefDescription(const char *b,const char *briefFile,int br
}
}
}
}
if
(
!
_docsAlreadyAdded
(
brief
,
m_impl
->
briefSignatures
))
{
if
(
m_impl
->
brief
&&
!
m_impl
->
brief
->
doc
.
isEmpty
())
if
(
m_impl
->
brief
&&
!
m_impl
->
brief
->
doc
.
isEmpty
())
{
{
//printf("adding to details\n");
//printf("adding to details\n");
_setDocumentation
(
brief
,
briefFile
,
briefLine
,
FALSE
,
TRUE
);
_setDocumentation
(
brief
,
briefFile
,
briefLine
,
FALSE
,
TRUE
);
}
}
else
if
(
!
_docsAlreadyAdded
(
brief
,
m_impl
->
briefSignatures
))
else
{
{
//fprintf(stderr,"Definition::setBriefDescription(%s,%s,%d)\n",b,briefFile,briefLine);
//fprintf(stderr,"Definition::setBriefDescription(%s,%s,%d)\n",b,briefFile,briefLine);
if
(
m_impl
->
brief
==
0
)
if
(
m_impl
->
brief
==
0
)
...
@@ -671,6 +673,7 @@ void Definition::_setBriefDescription(const char *b,const char *briefFile,int br
...
@@ -671,6 +673,7 @@ void Definition::_setBriefDescription(const char *b,const char *briefFile,int br
m_impl
->
brief
->
line
=
1
;
m_impl
->
brief
->
line
=
1
;
}
}
}
}
}
else
else
{
{
//printf("do nothing!\n");
//printf("do nothing!\n");
...
...
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