* doublest.h (DOUBLEST_PRINT_FORMAT): Remove % from string.
[deliverable/binutils-gdb.git] / gdb / c-exp.y
index 40dbc93efb099111ff3e856c70ae81786be3593d..b5207212f7d2e2ff582632deb37568bcd5ec52d2 100644 (file)
@@ -1,6 +1,7 @@
 /* YACC parser for C expressions, for GDB.
    Copyright (C) 1986, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
-   1998, 1999, 2000, 2003, 2004, 2006, 2007 Free Software Foundation, Inc.
+   1998, 1999, 2000, 2003, 2004, 2006, 2007, 2008
+   Free Software Foundation, Inc.
 
 This file is part of GDB.
 
@@ -1124,7 +1125,7 @@ parse_number (p, len, parsed_float, putithere)
          return (DECFLOAT);
        }
 
-      num = sscanf (p, DOUBLEST_SCAN_FORMAT "%s",
+      num = sscanf (p, "%" DOUBLEST_SCAN_FORMAT "%s",
                    &putithere->typed_val_float.dval, s);
       p[len] = saved_char;     /* restore the input stream */
 
This page took 0.025177 seconds and 4 git commands to generate.