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
ef6c0b40
Commit
ef6c0b40
authored
Feb 20, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #122 from albert-github/feature/bug_724241
Bug 724241 - Internal inconsistency: namespace in IDL
parents
9b76c1a9
b0456fbe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
namespacedef.cpp
src/namespacedef.cpp
+9
-1
namespacedef.h
src/namespacedef.h
+2
-1
No files found.
src/namespacedef.cpp
View file @
ef6c0b40
...
...
@@ -68,6 +68,10 @@ NamespaceDef::NamespaceDef(const char *df,int dl,int dc,
{
m_type
=
CONSTANT_GROUP
;
}
else
if
(
type
&&
!
strcmp
(
"library"
,
type
))
{
m_type
=
LIBRARY
;
}
else
{
m_type
=
NAMESPACE
;
...
...
@@ -1109,9 +1113,13 @@ QCString NamespaceDef::compoundTypeString() const
{
return
"constants"
;
}
else
if
(
isLibrary
())
{
return
"library"
;
}
else
{
err
(
"Internal inconsistency: namespace in IDL not module or constant group
\n
"
);
err
(
"Internal inconsistency: namespace in IDL not module
, library
or constant group
\n
"
);
}
}
return
""
;
...
...
src/namespacedef.h
View file @
ef6c0b40
...
...
@@ -68,6 +68,7 @@ class NamespaceDef : public Definition
bool
isConstantGroup
()
const
{
return
CONSTANT_GROUP
==
m_type
;
}
bool
isModule
()
const
{
return
MODULE
==
m_type
;
}
bool
isLibrary
()
const
{
return
LIBRARY
==
m_type
;
}
bool
isLinkableInProject
()
const
;
bool
isLinkable
()
const
;
...
...
@@ -132,7 +133,7 @@ class NamespaceDef : public Definition
ClassSDict
*
classSDict
;
NamespaceSDict
*
namespaceSDict
;
bool
m_subGrouping
;
enum
{
NAMESPACE
,
MODULE
,
CONSTANT_GROUP
}
m_type
;
enum
{
NAMESPACE
,
MODULE
,
CONSTANT_GROUP
,
LIBRARY
}
m_type
;
bool
m_isPublished
;
};
...
...
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