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
92eb2360
Commit
92eb2360
authored
Sep 22, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 735376 - tag file: Unknown compound attribute `singleton' found!
parent
e92edc49
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
entry.h
src/entry.h
+1
-1
tagreader.cpp
src/tagreader.cpp
+15
-1
No files found.
src/entry.h
View file @
92eb2360
...
...
@@ -133,7 +133,7 @@ class Entry
static
const
uint64
Enum
=
(
1ULL
<<
12
);
// for Java-style enums
static
const
uint64
Service
=
(
1ULL
<<
13
);
// UNO IDL
static
const
uint64
Singleton
=
(
1ULL
<<
14
);
// UNO IDL
static
const
uint64
ForwardDecl
=
(
1ULL
<<
1
4
);
// forward declarad template classes
static
const
uint64
ForwardDecl
=
(
1ULL
<<
1
5
);
// forward declarad template classes
// member specifiers (add new items to the beginning)
static
const
uint64
PrivateGettable
=
(
1ULL
<<
20
);
// C# private getter
...
...
src/tagreader.cpp
View file @
92eb2360
...
...
@@ -95,7 +95,7 @@ class TagMemberInfo
class
TagClassInfo
{
public
:
enum
Kind
{
Class
,
Struct
,
Union
,
Interface
,
Exception
,
Protocol
,
Category
,
Enum
};
enum
Kind
{
Class
,
Struct
,
Union
,
Interface
,
Exception
,
Protocol
,
Category
,
Enum
,
Service
,
Singleton
};
TagClassInfo
()
{
bases
=
0
,
templateArguments
=
0
;
members
.
setAutoDelete
(
TRUE
);
isObjC
=
FALSE
;
}
~
TagClassInfo
()
{
delete
bases
;
delete
templateArguments
;
}
QCString
name
;
...
...
@@ -325,6 +325,18 @@ class TagFileParser : public QXmlDefaultHandler
m_curClass
->
kind
=
TagClassInfo
::
Category
;
m_state
=
InClass
;
}
else
if
(
kind
==
"service"
)
{
m_curClass
=
new
TagClassInfo
;
m_curClass
->
kind
=
TagClassInfo
::
Service
;
m_state
=
InClass
;
}
else
if
(
kind
==
"singleton"
)
{
m_curClass
=
new
TagClassInfo
;
m_curClass
->
kind
=
TagClassInfo
::
Singleton
;
m_state
=
InClass
;
}
else
if
(
kind
==
"file"
)
{
m_curFile
=
new
TagFileInfo
;
...
...
@@ -1296,6 +1308,8 @@ void TagFileParser::buildLists(Entry *root)
case
TagClassInfo
:
:
Exception
:
ce
->
spec
=
Entry
::
Exception
;
break
;
case
TagClassInfo
:
:
Protocol
:
ce
->
spec
=
Entry
::
Protocol
;
break
;
case
TagClassInfo
:
:
Category
:
ce
->
spec
=
Entry
::
Category
;
break
;
case
TagClassInfo
:
:
Service
:
ce
->
spec
=
Entry
::
Service
;
break
;
case
TagClassInfo
:
:
Singleton
:
ce
->
spec
=
Entry
::
Singleton
;
break
;
}
ce
->
name
=
tci
->
name
;
if
(
tci
->
kind
==
TagClassInfo
::
Protocol
)
...
...
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