summaryrefslogtreecommitdiffstats
path: root/src/commentcnv.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/commentcnv.l')
-rw-r--r--src/commentcnv.l4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/commentcnv.l b/src/commentcnv.l
index d7d04a7..dc152a1 100644
--- a/src/commentcnv.l
+++ b/src/commentcnv.l
@@ -188,6 +188,7 @@ static QCString handleCondCmdInAliases(const QCString &s)
}
else // get argument
{
+ ep=sp;
while ((c=*arg) && isId(c)) arg++,ep++;
if (ep>sp)
{
@@ -195,6 +196,9 @@ static QCString handleCondCmdInAliases(const QCString &s)
//printf("Found conditional section id %s\n",id.data());
startCondSection(id);
}
+ else // invalid identifier
+ {
+ }
}
p=ep;
}