summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2003-07-08 20:06:16 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2003-07-08 20:06:16 (GMT)
commitaca0b88941aefecfbef3186e63049cc7fba0a11c (patch)
tree0ff0fae4a5be0021848d96eb18ee8505ff6b9b5d /src/code.l
parent509496da5e5b38aecbd91a5e20b3d695cbbef775 (diff)
downloadDoxygen-aca0b88941aefecfbef3186e63049cc7fba0a11c.zip
Doxygen-aca0b88941aefecfbef3186e63049cc7fba0a11c.tar.gz
Doxygen-aca0b88941aefecfbef3186e63049cc7fba0a11c.tar.bz2
Release-1.3.2-20030708
Diffstat (limited to 'src/code.l')
-rw-r--r--src/code.l3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/code.l b/src/code.l
index cc12753..bc340a5 100644
--- a/src/code.l
+++ b/src/code.l
@@ -1010,7 +1010,7 @@ static int yyread(char *buf,int max_size)
B [ \t]
BN [ \t\n\r]
ID [a-z_A-Z][a-z_A-Z0-9]*
-SCOPENAME (({ID}?{BN}*"::"{BN}*)*)((~{BN}*)?{ID})
+SCOPENAME "$"?(({ID}?{BN}*"::"{BN}*)*)((~{BN}*)?{ID})
TEMPLIST "<"[^\"\}\{\(\)\/\n\>]*">"
SCOPETNAME ((({ID}{TEMPLIST}?){BN}*"::"{BN}*)*)((~{BN}*)?{ID})
SCOPEPREFIX ({ID}{TEMPLIST}?{BN}*"::"{BN}*)+
@@ -1178,6 +1178,7 @@ TYPEKW ("bool"|"char"|"double"|"float"|"int"|"long"|"short"|"signed"|"unsigned"
<ClassName,ClassVar>[*&]+ {
addType();
g_code->codify(yytext);
+ BEGIN( Body ); // variable of type struct *
}
<ClassName>{ID}("::"{ID})* {
g_curClassName=yytext;