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
d96458ce
Commit
d96458ce
authored
Feb 15, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add validation of internal consistency to html entity mapper
parent
e236824a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
htmlentity.cpp
src/htmlentity.cpp
+1
-0
htmlentity.h
src/htmlentity.h
+1
-1
No files found.
src/htmlentity.cpp
View file @
d96458ce
...
...
@@ -326,6 +326,7 @@ HtmlEntityMapper::HtmlEntityMapper()
{
m_name2sym
->
insert
(
g_htmlEntities
[
i
].
item
,
new
int
(
g_htmlEntities
[
i
].
symb
));
}
validate
();
}
HtmlEntityMapper
::~
HtmlEntityMapper
()
...
...
src/htmlentity.h
View file @
d96458ce
...
...
@@ -36,8 +36,8 @@ class HtmlEntityMapper
const
char
*
rtf
(
DocSymbol
::
SymType
symb
)
const
;
const
DocSymbol
::
PerlSymb
*
perl
(
DocSymbol
::
SymType
symb
)
const
;
void
writeXMLSchema
(
FTextStream
&
t
);
void
validate
();
private
:
void
validate
();
HtmlEntityMapper
();
~
HtmlEntityMapper
();
static
HtmlEntityMapper
*
s_instance
;
...
...
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