summaryrefslogtreecommitdiffstats
path: root/src/scanner.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2008-01-23 21:30:39 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2008-01-23 21:30:39 (GMT)
commit38c6a14b15d87348076be142abea8663009ace82 (patch)
treed75127a33593cfe4d77e951e6df541294dc1e9b4 /src/scanner.l
parentd37b4be374f200ce57ee228d0f33e52e10add15f (diff)
downloadDoxygen-38c6a14b15d87348076be142abea8663009ace82.zip
Doxygen-38c6a14b15d87348076be142abea8663009ace82.tar.gz
Doxygen-38c6a14b15d87348076be142abea8663009ace82.tar.bz2
Release-1.5.4-20080123
Diffstat (limited to 'src/scanner.l')
-rw-r--r--src/scanner.l3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/scanner.l b/src/scanner.l
index 3f86c2f..50edea9 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -3143,7 +3143,8 @@ TYPEDEFPREFIX (("typedef"{BN}+)?)((("volatile"|"const"){BN}+)?)
// -> omit typedef and use S_t as the struct name
if (typedefHidesStruct &&
isTypedef &&
- (current->spec&(Entry::Struct|Entry::Union)) &&
+ ((current->spec&(Entry::Struct|Entry::Union)) ||
+ current->section==Entry::ENUM_SEC )&&
msType.stripWhiteSpace().isEmpty() &&
memspecEntry)
{