bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

id-utils-4.0 does not handle identifiers 'l' or 'u'


From: David Sanderson
Subject: id-utils-4.0 does not handle identifiers 'l' or 'u'
Date: Fri, 03 Mar 2006 13:20:32 -0500

When trying ftp://prep.ai.mit.edu/gnu/idutils/id-utils-4.0.tar.gz on
FreeBSD 4.3, I noticed that it could not show me uses of the identifiers
"l" or "u".  It could handle "v" just fine, so it can handle at least
one single character identifier.  Perhaps it is confusing "l" and "u"
with integer constants?

David Sanderson (address@hidden)

Script started on Fri Mar  3 13:17:36 2006
$ cat foo.c
#ifdef l
#undef l
#endif

#ifdef u
#undef u
#endif

#ifdef v
#undef v
#endif

int l = 1;
int u = 1;
int v = 1;

int main(void)
{
    return l+u+v;
}
$ mkid
$ gid l
$ gid u
$ gid v
foo.c:9:#ifdef v
foo.c:10:#undef v
foo.c:15:int v = 1;
foo.c:19:    return l+u+v;
$ exit

Script done on Fri Mar  3 13:17:51 2006




reply via email to

[Prev in Thread] Current Thread [Next in Thread]