summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2000-05-08 20:42:05 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2000-05-08 20:42:05 (GMT)
commit367c98ad291fd02781ae1c20a6e09e0b07dbec88 (patch)
tree28a24e8c88d32a50bc5bef6d49306553267dc5ab /src/code.l
parent59bbbf5099f9bcf96d3585e4fc0669e091d3b9e7 (diff)
downloadDoxygen-367c98ad291fd02781ae1c20a6e09e0b07dbec88.zip
Doxygen-367c98ad291fd02781ae1c20a6e09e0b07dbec88.tar.gz
Doxygen-367c98ad291fd02781ae1c20a6e09e0b07dbec88.tar.bz2
Release-1.1.3
Diffstat (limited to 'src/code.l')
-rw-r--r--src/code.l10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/code.l b/src/code.l
index f6d7acb..1a6b3f1 100644
--- a/src/code.l
+++ b/src/code.l
@@ -965,7 +965,15 @@ TYPEKW ("bool"|"char"|"const"|"double"|"float"|"int"|"long"|"short"|"signed"|"u
{
startCodeLine(*g_code);
}
- BEGIN(g_lastSpecialCContext);
+ if (g_lastSpecialCContext==SkipCxxComment)
+ { // force end of C++ comment here
+ endFontClass();
+ BEGIN( g_lastCContext ) ;
+ }
+ else
+ {
+ BEGIN(g_lastSpecialCContext);
+ }
}
<RemoveSpecialCComment>"*/" {
BEGIN(g_lastSpecialCContext);