summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2008-05-18 11:56:00 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2008-05-18 11:56:00 (GMT)
commit266542ab877882e802a3e189ca3f3535dd9e048a (patch)
treee85f15dbfa5b5c3a1d2eb4031c403ae367dd15a8 /src/code.l
parentb4f20f70abd663b3d8e5889e1fe582dfe980b7a2 (diff)
downloadDoxygen-266542ab877882e802a3e189ca3f3535dd9e048a.zip
Doxygen-266542ab877882e802a3e189ca3f3535dd9e048a.tar.gz
Doxygen-266542ab877882e802a3e189ca3f3535dd9e048a.tar.bz2
Release-1.5.6
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 7a44298..01e504e 100644
--- a/src/code.l
+++ b/src/code.l
@@ -2170,6 +2170,8 @@ OPERATOR {ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}
}
<UsingName>\n { codifyLines(yytext); BEGIN(Body); }
<UsingName>. { codifyLines(yytext); BEGIN(Body); }
+<Body,FuncCall>"$"?"this"("->"|".") { g_code->codify(yytext); // this-> for C++, this. for C#
+ }
<Body>{KEYWORD}/([^a-z_A-Z0-9]) {
startFontClass("keyword");
codifyLines(yytext);
@@ -2409,7 +2411,6 @@ OPERATOR {ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}
g_code->codify(yytext);
endFontClass();
}
-<Body,FuncCall>"$"?"this->" { g_code->codify(yytext); }
<Body>"."|"->" {
g_code->codify(yytext);
g_memCallContext = YY_START;