diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2001-11-18 14:52:40 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2001-11-18 14:52:40 (GMT) |
commit | b89fdced7a88c9222faa0d646923bd09fb1765f8 (patch) | |
tree | 066b0bffed86445dbe3d494eaf31515f5b743e8c /src/scanner.l | |
parent | f11235dce05843401bccaae6dfcee8f65ac9da1d (diff) | |
download | Doxygen-b89fdced7a88c9222faa0d646923bd09fb1765f8.zip Doxygen-b89fdced7a88c9222faa0d646923bd09fb1765f8.tar.gz Doxygen-b89fdced7a88c9222faa0d646923bd09fb1765f8.tar.bz2 |
Release-1.2.12
Diffstat (limited to 'src/scanner.l')
-rw-r--r-- | src/scanner.l | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/scanner.l b/src/scanner.l index fc6a7eb..93cac98 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -1699,6 +1699,26 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'")) } } } +<ReadBody>"}"{BN}+"typedef"{BN}+ { //err("ReadBody count=%d\n",curlyCount); + if ( curlyCount>0 ) + { + current->program += yytext ; + --curlyCount ; + } + else + { + lineCount(); + isTypedef = TRUE; + current->endBodyLine = yyLineNr; + QCString &cn = current->name; + QCString rn = current_root->name.copy(); + if (!cn.isEmpty() && !rn.isEmpty()) + { + prependScope(); + } + BEGIN( TypedefName ); + } + } <TypedefName>{ID} { if (current->section == Entry::ENUM_SEC) { |