summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2004-12-31 14:25:22 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2004-12-31 14:25:22 (GMT)
commit7355f4bc5940e13f89fc98e0bf102e31c73eaa99 (patch)
tree80d6e1da5b77f60b041b9a10aadb418c8b25933e /src/code.l
parent1c51f44b5f0b3510618a283d522aab0741ddb3a1 (diff)
downloadDoxygen-7355f4bc5940e13f89fc98e0bf102e31c73eaa99.zip
Doxygen-7355f4bc5940e13f89fc98e0bf102e31c73eaa99.tar.gz
Doxygen-7355f4bc5940e13f89fc98e0bf102e31c73eaa99.tar.bz2
Release-1.4.0
Diffstat (limited to 'src/code.l')
-rw-r--r--src/code.l14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/code.l b/src/code.l
index bd1a4a6..9dc4e05 100644
--- a/src/code.l
+++ b/src/code.l
@@ -2178,12 +2178,6 @@ OPERATOR {ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}
g_type.resize(0);
BEGIN(g_memCallContext);
}
-<MemberCall>[^a-z_A-Z0-9(\n] {
- g_code->codify(yytext);
- g_type.resize(0);
- g_name.resize(0);
- BEGIN(g_memCallContext);
- }
<Body>[,=;\[] {
if (g_insideObjC && *yytext=='[')
{
@@ -2394,7 +2388,7 @@ OPERATOR {ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}
g_code->codify(yytext);
g_parmType.resize(0);g_parmName.resize(0);
}
-<MemberCall2,FuncCall>")" {
+<MemberCall,MemberCall2,FuncCall>")" {
g_theVarContext.addVariable(g_parmType,g_parmName);
g_theCallContext.popScope();
g_theCallContext.setClass(0);
@@ -2638,6 +2632,12 @@ OPERATOR {ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}
<RemoveSpecialCComment>"//"|"/*"
<RemoveSpecialCComment>\n { g_yyLineNr++; }
<RemoveSpecialCComment>.
+<MemberCall>[^a-z_A-Z0-9(\n] {
+ g_code->codify(yytext);
+ g_type.resize(0);
+ g_name.resize(0);
+ BEGIN(g_memCallContext);
+ }
<*>\n({B}*"//"[!/][^\n]*\n)+ { // remove special one-line comment
if (Config_getBool("STRIP_CODE_COMMENTS"))
{