summaryrefslogtreecommitdiffstats
path: root/src/pre.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2004-10-10 19:13:27 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2004-10-10 19:13:27 (GMT)
commit50828c3c773e8095785c010c1aad3891076742f4 (patch)
treea1de4b4e9cdb500ec50176a1d5a70efafc4eb88f /src/pre.l
parent89f2e4c8f026df987fab492c050e43011ef96871 (diff)
downloadDoxygen-50828c3c773e8095785c010c1aad3891076742f4.zip
Doxygen-50828c3c773e8095785c010c1aad3891076742f4.tar.gz
Doxygen-50828c3c773e8095785c010c1aad3891076742f4.tar.bz2
Release-1.3.9.1
Diffstat (limited to 'src/pre.l')
-rw-r--r--src/pre.l7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/pre.l b/src/pre.l
index a01b06f..8266c1c 100644
--- a/src/pre.l
+++ b/src/pre.l
@@ -856,9 +856,15 @@ QCString removeIdsAndMarkers(const char *s)
}
p++;
}
+ else // oops, not comment but division
+ {
+ result+=pc;
+ goto nextChar;
+ }
}
else
{
+nextChar:
result+=c;
char lc=tolower(c);
if (!isId(lc) && lc!='.' && lc!='-' && lc!='+') inNum=FALSE;
@@ -1507,6 +1513,7 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'"))
<Guard>"defined"/{B}+ {
BEGIN(DefinedExpr1);
}
+<Guard>{ID} { g_guardExpr+=yytext; }
<Guard>. { g_guardExpr+=*yytext; }
<Guard>\n {
outputChar('\n');