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
4a5d43a4
Commit
4a5d43a4
authored
May 21, 2013
by
Petr Prikryl
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/doxygen/doxygen.git
parents
46dba7a8
eb193634
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
+11
-6
scanner.l
src/scanner.l
+6
-1
sqlite3gen.cpp
src/sqlite3gen.cpp
+5
-5
No files found.
src/scanner.l
View file @
4a5d43a4
...
@@ -624,6 +624,11 @@ IDLATTR ("["[^\]]*"]"){BN}*
...
@@ -624,6 +624,11 @@ IDLATTR ("["[^\]]*"]"){BN}*
TYPEDEFPREFIX (("typedef"{BN}+)?)((("volatile"|"const"){BN}+)?)
TYPEDEFPREFIX (("typedef"{BN}+)?)((("volatile"|"const"){BN}+)?)
RAWBEGIN (u|U|L|u8)?R\"[^ \t\(\)\\]{0,16}"("
RAWBEGIN (u|U|L|u8)?R\"[^ \t\(\)\\]{0,16}"("
RAWEND ")"[^ \t\(\)\\]{0,16}\"
RAWEND ")"[^ \t\(\)\\]{0,16}\"
ARITHOP "+"|"-"|"/"|"*"|"%"|"--"|"++"
ASSIGNOP "="|"*="|"/="|"%="|"+="|"-="|"<<="|">>="|"&="|"^="|"|="
LOGICOP "=="|"!="|">"|"<"|">="|"<="|"&&"|"||"|"!"
BITOP "&"|"|"|"^"|"<<"|">>"|"~"
OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
%option noyywrap
%option noyywrap
...
@@ -1938,7 +1943,7 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\"
...
@@ -1938,7 +1943,7 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\"
BEGIN(Using);
BEGIN(Using);
}
}
<Using>"namespace"{BN}+ { lineCount(); BEGIN(UsingDirective); }
<Using>"namespace"{BN}+ { lineCount(); BEGIN(UsingDirective); }
<Using>
{ID}{BN}*({BN}*("::"|"."){BN}*{ID})*
{
<Using>
({ID}{BN}*("::"|"."){BN}*)*({ID}|{OPERATOR})
{
lineCount();
lineCount();
current->name=yytext;
current->name=yytext;
current->fileName = yyFileName;
current->fileName = yyFileName;
...
...
src/sqlite3gen.cpp
View file @
4a5d43a4
...
@@ -888,7 +888,7 @@ static void generateSqlite3ForMember(sqlite3*db,MemberDef *md,Definition *def)
...
@@ -888,7 +888,7 @@ static void generateSqlite3ForMember(sqlite3*db,MemberDef *md,Definition *def)
}
}
if
(
isFunc
)
if
(
isFunc
)
{
{
LockingPtr
<
ArgumentList
>
al
=
md
->
argumentList
();
ArgumentList
*
al
=
md
->
argumentList
();
if
(
al
!=
0
&&
al
->
constSpecifier
)
if
(
al
!=
0
&&
al
->
constSpecifier
)
{
{
bindIntParameter
(
i_s_memberdef
,
":const"
,
al
->
constSpecifier
);
bindIntParameter
(
i_s_memberdef
,
":const"
,
al
->
constSpecifier
);
...
@@ -984,7 +984,7 @@ static void generateSqlite3ForMember(sqlite3*db,MemberDef *md,Definition *def)
...
@@ -984,7 +984,7 @@ static void generateSqlite3ForMember(sqlite3*db,MemberDef *md,Definition *def)
<< memberOutputFileBase(rmd) << "_1" << rmd->anchor() << "\">"
<< memberOutputFileBase(rmd) << "_1" << rmd->anchor() << "\">"
<< convertToXML(rmd->name()) << "</reimplements>" << endl;
<< convertToXML(rmd->name()) << "</reimplements>" << endl;
}
}
LockingPtr<MemberList>
rbml = md->reimplementedBy();
MemberList *
rbml = md->reimplementedBy();
if (rbml!=0)
if (rbml!=0)
{
{
MemberListIterator mli(*rbml);
MemberListIterator mli(*rbml);
...
@@ -998,8 +998,8 @@ static void generateSqlite3ForMember(sqlite3*db,MemberDef *md,Definition *def)
...
@@ -998,8 +998,8 @@ static void generateSqlite3ForMember(sqlite3*db,MemberDef *md,Definition *def)
#endif
#endif
if
(
isFunc
)
//function
if
(
isFunc
)
//function
{
{
LockingPtr
<
ArgumentList
>
declAl
=
md
->
declArgumentList
();
ArgumentList
*
declAl
=
md
->
declArgumentList
();
LockingPtr
<
ArgumentList
>
defAl
=
md
->
argumentList
();
ArgumentList
*
defAl
=
md
->
argumentList
();
if
(
declAl
!=
0
&&
declAl
->
count
()
>
0
)
if
(
declAl
!=
0
&&
declAl
->
count
()
>
0
)
{
{
ArgumentListIterator
declAli
(
*
declAl
);
ArgumentListIterator
declAli
(
*
declAl
);
...
@@ -1128,7 +1128,7 @@ static void generateSqlite3ForMember(sqlite3*db,MemberDef *md,Definition *def)
...
@@ -1128,7 +1128,7 @@ static void generateSqlite3ForMember(sqlite3*db,MemberDef *md,Definition *def)
// + cross-references
// + cross-references
// The cross-references in initializers only work when both the src and dst
// The cross-references in initializers only work when both the src and dst
// are defined.
// are defined.
LockingPtr
<
MemberSDict
>
mdict
=
md
->
getReferencesMembers
();
MemberSDict
*
mdict
=
md
->
getReferencesMembers
();
// references
// references
if
(
mdict
!=
0
)
if
(
mdict
!=
0
)
{
{
...
...
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