summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/code.l')
-rw-r--r--src/code.l10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/code.l b/src/code.l
index 47ab7ce..80f11ca 100644
--- a/src/code.l
+++ b/src/code.l
@@ -1770,11 +1770,6 @@ OPERATOR {ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}
<SkipCPP>\\[\r]?\n {
codifyLines(yytext);
}
-<SkipCPP>\n/.*\n {
- codifyLines(yytext);
- endFontClass();
- BEGIN( g_lastSkipCppContext ) ;
- }
<SkipCPP>"//" {
g_code->codify(yytext);
}
@@ -2790,6 +2785,11 @@ OPERATOR {ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}
BEGIN( g_lastCContext ) ;
}
}
+<SkipCPP>\n/.*\n {
+ codifyLines(yytext);
+ endFontClass();
+ BEGIN( g_lastSkipCppContext ) ;
+ }
<*>\n{B}*"//@"[{}].*\n { // remove one-line group marker
if (Config_getBool("STRIP_CODE_COMMENTS"))
{