summaryrefslogtreecommitdiffstats
path: root/src/pre.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-11-25 18:56:18 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-11-25 18:56:18 (GMT)
commitcce8b9505201c95443798341d3d6176922db9253 (patch)
tree6643370adedf0cbaac88d674978bd44175ab1475 /src/pre.l
parentc736b03f16a88b6654ff9c1ae680e46b86e50218 (diff)
downloadDoxygen-cce8b9505201c95443798341d3d6176922db9253.zip
Doxygen-cce8b9505201c95443798341d3d6176922db9253.tar.gz
Doxygen-cce8b9505201c95443798341d3d6176922db9253.tar.bz2
Release-1.2.12-20011125
Diffstat (limited to 'src/pre.l')
-rw-r--r--src/pre.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pre.l b/src/pre.l
index 84501e1..2ddb120 100644
--- a/src/pre.l
+++ b/src/pre.l
@@ -721,7 +721,7 @@ QCString removeIdsAndMarkers(const char *s)
p++;
inNum=TRUE;
}
- else if (c=='d') // identifier starting with a `d'
+ else if (c=='d' && !inNum) // identifier starting with a `d'
{
if (strncmp(p,"defined ",8)==0 || strncmp(p,"defined(",8)==0)
// defined keyword
@@ -745,7 +745,7 @@ QCString removeIdsAndMarkers(const char *s)
{
result+=c;
char lc=tolower(c);
- if (lc!='l' && lc!='u') inNum=FALSE;
+ if (!isId(lc) && lc!='.' && lc!='-' && lc!='+') inNum=FALSE;
p++;
}
}