summaryrefslogtreecommitdiffstats
path: root/src/pre.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-10-10 19:13:27 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-10-10 19:13:27 (GMT)
commit161d3860fa7f0e80edbdb2b3105e9759cada1dbb (patch)
treea1de4b4e9cdb500ec50176a1d5a70efafc4eb88f /src/pre.l
parentdeb9b8d40d7ac7d0c576ac9401aaed9e21ccdc58 (diff)
downloadDoxygen-161d3860fa7f0e80edbdb2b3105e9759cada1dbb.zip
Doxygen-161d3860fa7f0e80edbdb2b3105e9759cada1dbb.tar.gz
Doxygen-161d3860fa7f0e80edbdb2b3105e9759cada1dbb.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');