summaryrefslogtreecommitdiffstats
path: root/src/pre.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2001-11-25 18:56:18 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2001-11-25 18:56:18 (GMT)
commit79959c79850830e90aa7e00e72d3718785e29214 (patch)
tree6643370adedf0cbaac88d674978bd44175ab1475 /src/pre.l
parentb89fdced7a88c9222faa0d646923bd09fb1765f8 (diff)
downloadDoxygen-79959c79850830e90aa7e00e72d3718785e29214.zip
Doxygen-79959c79850830e90aa7e00e72d3718785e29214.tar.gz
Doxygen-79959c79850830e90aa7e00e72d3718785e29214.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++;
}
}