summaryrefslogtreecommitdiffstats
path: root/src/scanner.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2005-09-16 18:34:41 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2005-09-16 18:34:41 (GMT)
commit143b39e71a45892c2b8e8bf22f5d448b441bf36a (patch)
tree11aba0942df62a4f1090d7ffd3f4cb98c0c3b6ed /src/scanner.l
parent360bc2535d89e99bbd159ca695813dcdba49c71b (diff)
downloadDoxygen-143b39e71a45892c2b8e8bf22f5d448b441bf36a.zip
Doxygen-143b39e71a45892c2b8e8bf22f5d448b441bf36a.tar.gz
Doxygen-143b39e71a45892c2b8e8bf22f5d448b441bf36a.tar.bz2
Release-1.4.4-20050817
Diffstat (limited to 'src/scanner.l')
-rw-r--r--src/scanner.l4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/scanner.l b/src/scanner.l
index edb1253..0da3eaa 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -2142,6 +2142,10 @@ IDLATTR ("["[^\]]*"]"){BN}*
{
current->type = current->type.mid(3);
}
+ if (isTypedef && current->type.left(8)!="typedef ")
+ {
+ current->type.prepend("typedef ");
+ }
bool needNewCurrent=FALSE;
if (!current->name.isEmpty() && current->section!=Entry::ENUM_SEC)
{