diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2005-10-24 18:18:56 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2005-10-24 18:18:56 (GMT) |
commit | 32557464b53467b2819e3fb820a7bbc459eb3e30 (patch) | |
tree | a3e5426db07e417c276c043b1c2436f169045b49 /src/code.l | |
parent | c9ed38abcef60f4ecb9fc08a1ddd936762d5342c (diff) | |
download | Doxygen-32557464b53467b2819e3fb820a7bbc459eb3e30.zip Doxygen-32557464b53467b2819e3fb820a7bbc459eb3e30.tar.gz Doxygen-32557464b53467b2819e3fb820a7bbc459eb3e30.tar.bz2 |
Release-1.4.5-20051024
Diffstat (limited to 'src/code.l')
-rw-r--r-- | src/code.l | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1226,6 +1226,7 @@ static void startFontClass(const char *s) static void writeObjCMethodCall(ObjCCallCtx *ctx) { if (ctx==0) return; + if (ctx->methodName.isEmpty()) return; const char *p = ctx->format.data(); //printf("writeObjCMethodCall(%s) obj=%s method=%s\n", // ctx->format.data(),ctx->objectTypeOrName.data(),ctx->methodName.data()); @@ -2418,6 +2419,9 @@ OPERATOR {ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP} <ObjCCall,ObjCMName,ObjCSkipStr>"$" { g_currentCtx->format+="$$"; } <ObjCCall,ObjCMName>"(" { g_currentCtx->format+=*yytext; g_braceCount++; } <ObjCCall,ObjCMName>")" { g_currentCtx->format+=*yytext; g_braceCount--; } +<ObjCSkipStr>"@"/"\"" { // needed to prevent matching the global rule (for C#) + g_currentCtx->format+=yytext; + } <ObjCCall,ObjCMName,ObjCSkipStr>. { g_currentCtx->format+=*yytext; } <ObjCCall,ObjCMName,ObjCSkipStr>\n { g_currentCtx->format+=*yytext; } |