summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-12-31 14:25:22 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-12-31 14:25:22 (GMT)
commit8dc1328efbd82110ca3def379951286b09fddd15 (patch)
tree80d6e1da5b77f60b041b9a10aadb418c8b25933e /src/code.l
parent81adebde00a3fe5954b403f8c0d1a1a6ed833fa8 (diff)
downloadDoxygen-8dc1328efbd82110ca3def379951286b09fddd15.zip
Doxygen-8dc1328efbd82110ca3def379951286b09fddd15.tar.gz
Doxygen-8dc1328efbd82110ca3def379951286b09fddd15.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"))
{