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
ce9d2a52
Commit
ce9d2a52
authored
May 25, 2013
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 700710 - Docbook output produces invalid XML for <programlisting> elements
parent
456fe6c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
2 deletions
+38
-2
docbookgen.cpp
src/docbookgen.cpp
+38
-2
No files found.
src/docbookgen.cpp
View file @
ce9d2a52
...
...
@@ -1171,7 +1171,27 @@ static void generateDocbookForClass(ClassDef *cd,FTextStream &ti)
{
t
<<
"<link linkend=
\"
"
<<
ii
->
fileDef
->
getOutputFileBase
()
<<
"
\"
>"
;
}
t
<<
"<"
<<
nm
<<
">"
<<
"</link>"
;
if
(
ii
->
local
)
{
t
<<
"""
;
}
else
{
t
<<
"<"
;
}
t
<<
convertToXML
(
nm
);
if
(
ii
->
local
)
{
t
<<
"""
;
}
else
{
t
<<
">"
;
}
if
(
ii
->
fileDef
&&
!
ii
->
fileDef
->
isReference
())
{
t
<<
"</link>"
;
}
t
<<
"</programlisting>"
<<
endl
;
t
<<
"</para>"
<<
endl
;
}
...
...
@@ -1389,7 +1409,23 @@ static void generateDocbookForFile(FileDef *fd,FTextStream &ti)
for
(
ili1
.
toFirst
();(
inc
=
ili1
.
current
());
++
ili1
)
{
t
<<
" <programlisting>#include "
;
t
<<
inc
->
includeName
;
if
(
inc
->
local
)
{
t
<<
"""
;
}
else
{
t
<<
"<"
;
}
t
<<
convertToXML
(
inc
->
includeName
);
if
(
inc
->
local
)
{
t
<<
"""
;
}
else
{
t
<<
">"
;
}
t
<<
"</programlisting>"
<<
endl
;
}
}
...
...
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