summaryrefslogtreecommitdiffstats
path: root/src/scanner.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2011-12-03 18:14:19 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2011-12-03 18:14:19 (GMT)
commitcfb38c32173c3a16dc1c8e868b4cc23a68ed28b8 (patch)
tree018e8f5de990aedc2ea2b98065d07bc92253a8f1 /src/scanner.l
parent4edf2204046b915a6244cde9be0df3ff60e312cb (diff)
downloadDoxygen-cfb38c32173c3a16dc1c8e868b4cc23a68ed28b8.zip
Doxygen-cfb38c32173c3a16dc1c8e868b4cc23a68ed28b8.tar.gz
Doxygen-cfb38c32173c3a16dc1c8e868b4cc23a68ed28b8.tar.bz2
Release-1.7.6
Diffstat (limited to 'src/scanner.l')
-rw-r--r--src/scanner.l2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scanner.l b/src/scanner.l
index 9cb8031..05b6fc9 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -2871,11 +2871,13 @@ TYPEDEFPREFIX (("typedef"{BN}+)?)((("volatile"|"const"){BN}+)?)
}
if ( *yytext == ',')
{
+ bool stat = current->stat;
if (needNewCurrent)
{
current = new Entry(*current);
initEntry();
}
+ current->stat = stat; // the static attribute holds for all variables
current->name.resize(0);
current->args.resize(0);
current->brief.resize(0);