diff options
author | Daniel Jacobowitz <drow@false.org> | 2006-02-23 18:43:41 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2006-02-23 18:43:41 +0000 |
commit | a6205f535ae295e644a1ec53fa130e2785adfb58 (patch) | |
tree | 7ea3cdabe1196869e61db644155a93fb9ad84db4 /gdb/objc-exp.y | |
parent | 0f0b8dcdc328692f3b92cf2034b8866f0c01fa33 (diff) | |
download | fsf-binutils-gdb-a6205f535ae295e644a1ec53fa130e2785adfb58.zip fsf-binutils-gdb-a6205f535ae295e644a1ec53fa130e2785adfb58.tar.gz fsf-binutils-gdb-a6205f535ae295e644a1ec53fa130e2785adfb58.tar.bz2 |
* doublest.h: Conditionalize DOUBLEST on PRINTF_HAS_LONG_DOUBLE
also.
(DOUBLEST_FORMAT): Rename to DOUBLEST_PRINT_FORMAT.
(DOUBLEST_SCAN_FORMAT): New.
* ada-lex.l (PRINTF_HAS_LONG_DOUBLE): Remove redefinitions.
(processReal): Use DOUBLEST_SCAN_FORMAT.
* c-exp.y (parse_number): Likewise.
* jv-exp.y (parse_number): Likewise.
* objc-exp.y (parse_number): Likewise.
* p-exp.y (parse_number): Likewise.
Diffstat (limited to 'gdb/objc-exp.y')
-rw-r--r-- | gdb/objc-exp.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/objc-exp.y b/gdb/objc-exp.y index 52ae8c2..7b0ca39 100644 --- a/gdb/objc-exp.y +++ b/gdb/objc-exp.y @@ -1025,7 +1025,7 @@ parse_number (p, len, parsed_float, putithere) /* It's a float since it contains a point or an exponent. */ - sscanf (p, DOUBLEST_FORMAT "%c", + sscanf (p, DOUBLEST_SCAN_FORMAT "%c", &putithere->typed_val_float.dval, &c); /* See if it has `f' or `l' suffix (float or long double). */ |