This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug objc/11925] New: objc-exp.y doesn't handle floats with suffixes, e.g. 1.1f


bash$ ./gdb -nx
... 7.2.50.20100816-cvs ...
(gdb) set lang objective-c
(gdb) p 1.1f
Invalid number "1.1f".

The problem is in yylex.  It flags the number as invalid before calling 
parse_number.

-- 
           Summary: objc-exp.y doesn't handle floats with suffixes, e.g.
                    1.1f
           Product: gdb
           Version: unknown
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: objc
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: dje at google dot com
                CC: gdb-prs at sourceware dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=11925

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]