summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/code.l')
-rw-r--r--src/code.l5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/code.l b/src/code.l
index 1b15170..37a956b 100644
--- a/src/code.l
+++ b/src/code.l
@@ -1994,6 +1994,11 @@ OPERATOR {ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}
<Body>{KEYWORD}/([^a-z_A-Z0-9]) {
startFontClass("keyword");
codifyLines(yytext);
+ if (QCString(yytext)=="typedef")
+ {
+ addType();
+ g_name+=yytext;
+ }
endFontClass();
}
<Body>{KEYWORD}/{B}* {