summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-10-05 18:06:58 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-10-05 18:06:58 (GMT)
commitdeb9b8d40d7ac7d0c576ac9401aaed9e21ccdc58 (patch)
tree71b1f69fb092055eb6cb12c050b73c5ff04afd85 /src/code.l
parentf08cd6363f5da22b2452d4f937fef68220fcb081 (diff)
downloadDoxygen-deb9b8d40d7ac7d0c576ac9401aaed9e21ccdc58.zip
Doxygen-deb9b8d40d7ac7d0c576ac9401aaed9e21ccdc58.tar.gz
Doxygen-deb9b8d40d7ac7d0c576ac9401aaed9e21ccdc58.tar.bz2
Release-1.3.9
Diffstat (limited to 'src/code.l')
-rw-r--r--src/code.l8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/code.l b/src/code.l
index a343058..fd47652 100644
--- a/src/code.l
+++ b/src/code.l
@@ -1807,6 +1807,10 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^' \\\n]{1,4}"'"))
g_code->codify(yytext);
g_curlyCount++;
g_inClass=TRUE;
+ if (YY_START==ClassVar)
+ {
+ g_curClassName = g_name.copy();
+ }
if (g_searchingForBody)
{
g_searchingForBody=FALSE;
@@ -2397,12 +2401,12 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^' \\\n]{1,4}"'"))
BEGIN( SkipInits );
}
}
-<CallEnd>("const"|"volatile")({BN}+("const"|"volatile"))*{BN}*/";" {
+<CallEnd>("const"|"volatile")({BN}+("const"|"volatile"))*{BN}*/[;=] {
startFontClass("keyword");
codifyLines(yytext);
endFontClass();
}
-<CallEnd,OldStyleArgs>("const"|"volatile")*({BN}+("const"|"volatile"))*"{" {
+<CallEnd,OldStyleArgs>("const"|"volatile")*({BN}+("const"|"volatile"))*{BN}*"{" {
if (g_insideBody)
{
g_theVarContext.pushScope();