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
c7f7c954
Commit
c7f7c954
authored
Dec 19, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 735584 - Reached end of file while still insided a (nested) comment in Markdown
parent
f9c9edba
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
commentcnv.l
src/commentcnv.l
+1
-1
docparser.cpp
src/docparser.cpp
+4
-4
No files found.
src/commentcnv.l
View file @
c7f7c954
...
...
@@ -1011,7 +1011,7 @@ void convertCppComments(BufStr *inBuf,BufStr *outBuf,const char *fileName)
warn(g_fileName,ctx->lineNr,"Conditional section%sdoes not have "
"a corresponding \\endcond command within this file.",sectionInfo.data());
}
if (g_nestingCount>0
|| (YY_START==CComment && g_lang!=SrcLangExt_Markdown)
)
if (g_nestingCount>0
&& g_lang!=SrcLangExt_Markdown
)
{
QCString tmp= "(probable line reference: ";
bool first = TRUE;
...
...
src/docparser.cpp
View file @
c7f7c954
...
...
@@ -1044,11 +1044,11 @@ static void handleUnclosedStyleCommands()
}
}
static
void
handleLinkedWord
(
DocNode
*
parent
,
QList
<
DocNode
>
&
children
)
static
void
handleLinkedWord
(
DocNode
*
parent
,
QList
<
DocNode
>
&
children
,
bool
ignoreAutoLinkFlag
=
FALSE
)
{
QCString
name
=
linkToText
(
SrcLangExt_Unknown
,
g_token
->
name
,
TRUE
);
static
bool
autolinkSupport
=
Config_getBool
(
"AUTOLINK_SUPPORT"
);
if
(
!
autolinkSupport
)
// no autolinking -> add as normal word
if
(
!
autolinkSupport
&&
!
ignoreAutoLinkFlag
)
// no autolinking -> add as normal word
{
children
.
append
(
new
DocWord
(
parent
,
name
));
return
;
...
...
@@ -1130,7 +1130,7 @@ static void handleLinkedWord(DocNode *parent,QList<DocNode> &children)
// special case, where matching Foo: fails to be an Obj-C reference,
// but Foo itself might be linkable.
g_token
->
name
=
g_token
->
name
.
left
(
len
-
1
);
handleLinkedWord
(
parent
,
children
);
handleLinkedWord
(
parent
,
children
,
ignoreAutoLinkFlag
);
children
.
append
(
new
DocWord
(
parent
,
":"
));
}
else
if
(
!
g_insideHtmlLink
&&
(
cd
=
getClass
(
g_token
->
name
+
"-p"
)))
...
...
@@ -6113,7 +6113,7 @@ int DocPara::handleHtmlStartTag(const QCString &tagName,const HtmlAttribList &ta
bool
inSeeBlock
=
g_inSeeBlock
;
g_token
->
name
=
cref
;
g_inSeeBlock
=
TRUE
;
handleLinkedWord
(
this
,
m_children
);
handleLinkedWord
(
this
,
m_children
,
TRUE
);
g_inSeeBlock
=
inSeeBlock
;
}
else
// <see cref="...">...</see> style
...
...
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