diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2012-04-08 14:16:03 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2012-04-08 14:16:03 (GMT) |
commit | 17ee30b327bf4f07f2411a50a46f5467456beacf (patch) | |
tree | ffd092e761289b417363c0562ceb9b93b88f19a4 /src/code.l | |
parent | 0039b4f79ad7e628dcab61e1d82f26fb8fa11cfe (diff) | |
download | Doxygen-17ee30b327bf4f07f2411a50a46f5467456beacf.zip Doxygen-17ee30b327bf4f07f2411a50a46f5467456beacf.tar.gz Doxygen-17ee30b327bf4f07f2411a50a46f5467456beacf.tar.bz2 |
Release-1.8.0-20120408
Diffstat (limited to 'src/code.l')
-rw-r--r-- | src/code.l | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -3106,6 +3106,10 @@ OPERATOR {ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP} <SkipComment>[ \t]*"*/" { g_code->codify(yytext); endFontClass(); + if (g_lastCContext==SkipCPP) + { + startFontClass("preprocessor"); + } BEGIN( g_lastCContext ) ; } <SkipCxxComment>[^\r\n]*"\\"[\r]?\n { // line continuation @@ -3258,7 +3262,7 @@ OPERATOR {ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP} } } <*>"//"[!/][^\n]*\n { // strip special one-line comment - if (YY_START==SkipComment || YY_START==SkipString || YY_START==SkipCPP) REJECT; + if (YY_START==SkipComment || YY_START==SkipString) REJECT; if (Config_getBool("STRIP_CODE_COMMENTS")) { char c[2]; c[0]='\n'; c[1]=0; |