diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2002-11-15 14:41:06 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2002-11-15 14:41:06 (GMT) |
commit | b20ff12b9d8fa90143628233319beec2c20266d7 (patch) | |
tree | aa3814339507e0a58216fe75837a5f055b2405e2 /src/pre.l | |
parent | 4fbc34523cbbb9f6532b4113338ef59df193973f (diff) | |
download | Doxygen-b20ff12b9d8fa90143628233319beec2c20266d7.zip Doxygen-b20ff12b9d8fa90143628233319beec2c20266d7.tar.gz Doxygen-b20ff12b9d8fa90143628233319beec2c20266d7.tar.bz2 |
Release-1.3-rc1
Diffstat (limited to 'src/pre.l')
-rw-r--r-- | src/pre.l | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -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; } |