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
4bf77766
Commit
4bf77766
authored
Dec 08, 2013
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 719463 - Invalid null key and segmentation fault
parent
58b2c852
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
util.cpp
src/util.cpp
+16
-16
No files found.
src/util.cpp
View file @
4bf77766
...
...
@@ -5911,29 +5911,29 @@ int extractClassNameFromType(const QCString &type,int &pos,QCString &name,QCStri
static
const
QRegExp
re_ftn
(
"[a-z_A-Z
\\
x80-
\\
xFF][()=_a-z_A-Z0-9:
\\
x80-
\\
xFF]*"
);
QRegExp
re
;
if
(
lang
==
SrcLangExt_Fortran
)
name
.
resize
(
0
);
templSpec
.
resize
(
0
);
int
i
,
l
;
int
typeLen
=
type
.
length
();
if
(
typeLen
>
0
)
{
if
(
type
.
at
(
pos
)
==
','
)
return
-
1
;
if
(
type
.
left
(
4
).
lower
()
==
"type"
)
if
(
lang
==
SrcLangExt_Fortran
)
{
re
=
re_norm
;
if
(
type
.
at
(
pos
)
==
','
)
return
-
1
;
if
(
type
.
left
(
4
).
lower
()
==
"type"
)
{
re
=
re_norm
;
}
else
{
re
=
re_ftn
;
}
}
else
{
re
=
re_
ftn
;
re
=
re_
norm
;
}
}
else
{
re
=
re_norm
;
}
name
.
resize
(
0
);
templSpec
.
resize
(
0
);
int
i
,
l
;
int
typeLen
=
type
.
length
();
if
(
typeLen
>
0
)
{
if
((
i
=
re
.
match
(
type
,
pos
,
&
l
))
!=-
1
)
// for each class name in the type
{
int
ts
=
i
+
l
;
...
...
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