summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2001-09-23 17:28:38 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2001-09-23 17:28:38 (GMT)
commit156b0bb68fc4104792afb27ee4ee466f3efac206 (patch)
tree66859557d84fe96d692e8d6ee0a72d639a25b283 /src/code.l
parente4e787013da916e7331797233c1bec05c14b1f76 (diff)
downloadDoxygen-156b0bb68fc4104792afb27ee4ee466f3efac206.zip
Doxygen-156b0bb68fc4104792afb27ee4ee466f3efac206.tar.gz
Doxygen-156b0bb68fc4104792afb27ee4ee466f3efac206.tar.bz2
Release-1.2.10-20010923
Diffstat (limited to 'src/code.l')
-rw-r--r--src/code.l7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/code.l b/src/code.l
index 39fc7d6..7329541 100644
--- a/src/code.l
+++ b/src/code.l
@@ -228,9 +228,10 @@ static void startCodeLine()
}
+static void endFontClass();
static void endCodeLine()
{
- if (g_currentFontClass) { g_code->endFontClass(); }
+ endFontClass();
g_code->endCodeLine();
}
@@ -1720,6 +1721,10 @@ void parseCode(OutputDocInterface &od,const char *className,const QCString &s,
BEGIN( Body );
codeYYlex();
endFontClass();
+ if (g_inputLines==1)
+ {
+ g_code->endCodeLine();
+ }
od.append(g_code);
delete g_code;
return;