summaryrefslogtreecommitdiffstats
path: root/src/declinfo.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/declinfo.l')
-rw-r--r--src/declinfo.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declinfo.l b/src/declinfo.l
index 2f497f9..014ef75 100644
--- a/src/declinfo.l
+++ b/src/declinfo.l
@@ -149,6 +149,7 @@ ID "$"?([a-z_A-Z\x80-\xFF][a-z_A-Z0-9\x80-\xFF]*)|(@[0-9]+)
addType(yyscanner);
}
<Start>{B}*"("({ID}"::")*{B}*[&*]({B}*("const"|"volatile"){B}+)? {
+ if (yyextra->insidePHP) REJECT;
addType(yyscanner);
QCString text=yytext;
yyextra->type+=text.stripWhiteSpace();