summaryrefslogtreecommitdiffstats
path: root/src/pre.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2005-04-10 18:36:52 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2005-04-10 18:36:52 (GMT)
commit570375c30adbdb66714d465d849b18e0df9dd6e6 (patch)
treea604824ba5bbf13dd607ebd57c1a426a0d225d58 /src/pre.l
parent4fa6a6049a696a55520a0537192697798f29602d (diff)
downloadDoxygen-570375c30adbdb66714d465d849b18e0df9dd6e6.zip
Doxygen-570375c30adbdb66714d465d849b18e0df9dd6e6.tar.gz
Doxygen-570375c30adbdb66714d465d849b18e0df9dd6e6.tar.bz2
Release-1.4.2-20050410
Diffstat (limited to 'src/pre.l')
-rw-r--r--src/pre.l8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pre.l b/src/pre.l
index cb23bb8..8ce3d76 100644
--- a/src/pre.l
+++ b/src/pre.l
@@ -195,7 +195,7 @@ static FILE *checkAndOpenFile(const QCString &absName)
QCString filterName = getFileFilter(absName);
if (!filterName.isEmpty())
{
- QCString cmd = filterName+" \""+absName+"\"";
+ QCString cmd = "\"" + filterName+"\" \""+absName+"\"";
f=popen(cmd,"r");
if (!f) err("Error: could not execute filter %s\n",cmd.data());
}
@@ -1779,7 +1779,7 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'"))
}
<SkipCComment>[\\@]("verbatim"|"latexonly"|"htmlonly"|"xmlonly"|"rtfonly"|"manonly"|"dot"|"code"){BN}+ {
outputArray(yytext,yyleng);
- g_blockName=&yytext[1];
+ g_blockName=QCString(&yytext[1]).stripWhiteSpace();
BEGIN(SkipVerbatim);
}
<SkipVerbatim>[\\@]("endverbatim"|"endlatexonly"|"endhtmlonly"|"endxmlonly"|"endrtfonly"|"endmanonly"|"enddot"|"endcode") { /* end of verbatim block */
@@ -1789,7 +1789,7 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'"))
BEGIN(SkipCComment);
}
}
-<SkipCComment,SkipVerbatim>[^*\x06\n\/]+ {
+<SkipCComment,SkipVerbatim>[^*\\@\x06\n\/]+ {
outputArray(yytext,yyleng);
}
<SkipCComment,SkipVerbatim>\n {
@@ -2235,7 +2235,7 @@ void preprocessFile(const char *fileName,BufStr &output)
}
else
{
- QCString cmd = inputFilter+" \""+fileName+"\"";
+ QCString cmd = "\"" + inputFilter+"\" \""+fileName+"\"";
preYYin = popen(cmd,"r");
if (!preYYin)
{