bug-idutils
[Top][All Lists]
Advanced

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

[bug-idutils] [patch #4953] src/lid.c::isnumber() : Fix for bug in patte


From: Claudio Fontana
Subject: [bug-idutils] [patch #4953] src/lid.c::isnumber() : Fix for bug in pattern detection
Date: Sun, 5 Mar 2006 10:24:17 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20060213 Firefox/1.6a1

URL:
  <http://savannah.gnu.org/patch/?func=detailitem&item_id=4953>

                 Summary: src/lid.c::isnumber() : Fix for bug in pattern
detection
                 Project: idutils
            Submitted by: sick_soul
            Submitted on: Sun 03/05/06 at 10:24
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: sick_soul
        Originator Email: 
             Open/Closed: Open

    _______________________________________________________

Details:

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 ()

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



    _______________________________________________________

Carbon-Copy List:

CC Address                          | Comment
------------------------------------+-----------------------------
address@hidden              | originally reported by




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?func=detailitem&item_id=4953>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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