diff options
Diffstat (limited to 'src/declinfo.l')
-rw-r--r-- | src/declinfo.l | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/declinfo.l b/src/declinfo.l index fe2fed0..a6cafc4 100644 --- a/src/declinfo.l +++ b/src/declinfo.l @@ -136,9 +136,10 @@ ID ([a-z_A-Z][a-z_A-Z0-9]*)|(@[0-9]+) <Start>{B}+ { addType(); } -<Start>{B}*"("{B}*"*" { +<Start>{B}*"("({ID}"::")*{B}*"*" { addType(); - type+="(*"; + QCString text=yytext; + type+=text.stripWhiteSpace(); } <Start>{B}*")" { type+=")"; |