summaryrefslogtreecommitdiffstats
path: root/src/pre.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-11-15 14:41:06 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-11-15 14:41:06 (GMT)
commite952dab58265a6f21867e51f72d7d81ffe39e082 (patch)
treeaa3814339507e0a58216fe75837a5f055b2405e2 /src/pre.l
parentc400bd439b3df09704e33df382ed7b08f80dd8ed (diff)
downloadDoxygen-e952dab58265a6f21867e51f72d7d81ffe39e082.zip
Doxygen-e952dab58265a6f21867e51f72d7d81ffe39e082.tar.gz
Doxygen-e952dab58265a6f21867e51f72d7d81ffe39e082.tar.bz2
Release-1.3-rc1
Diffstat (limited to 'src/pre.l')
-rw-r--r--src/pre.l18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/pre.l b/src/pre.l
index 8123ae2..d85023f 100644
--- a/src/pre.l
+++ b/src/pre.l
@@ -971,11 +971,11 @@ static void readIncludeFile(const QCString &inc)
g_includeStack.push(fs);
// set the scanner to the include file
- // TODO: Enable this to deal with file changes due to
+ // Deal with file changes due to
// #include's within { .. } blocks
- //QCString lineStr;
- //lineStr.sprintf("# 1 \"%s\" 1\n",g_yyFileName.data());
- //outputArray(lineStr.data(),lineStr.length());
+ QCString lineStr;
+ lineStr.sprintf("# 1 \"%s\" 1\n",g_yyFileName.data());
+ outputArray(lineStr.data(),lineStr.length());
//fprintf(stderr,"Switching to include file %s\n",incFileName.data());
preYYin=f;
@@ -1624,9 +1624,9 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'"))
BEGIN(SkipCPPComment);
}
<SkipCComment>"*/" {
+ outputChar('*');outputChar('/');
if (--g_commentCount<=0)
{
- outputChar('*');outputChar('/');
BEGIN(g_lastCContext);
}
}
@@ -1803,11 +1803,11 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'"))
setFileName(fs->fileName.copy());
//fprintf(stderr,"######## FileName %s\n",g_yyFileName.data());
- // TODO: Enable this to deal with file changes due to
+ // Deal with file changes due to
// #include's within { .. } blocks
- //QCString lineStr;
- //lineStr.sprintf("# %d \"%s\" 2",g_yyLineNr,g_yyFileName.data());
- //outputArray(lineStr.data(),lineStr.length());
+ QCString lineStr;
+ lineStr.sprintf("# %d \"%s\" 2",g_yyLineNr,g_yyFileName.data());
+ outputArray(lineStr.data(),lineStr.length());
delete fs; fs=0;
}