* stabsread.c (read_type): Treat a negative type number at the start
[deliverable/binutils-gdb.git] / gdb / stabsread.c
index 667f5192904809bcc1430f254a515263483cb30f..f7b817eff2345d86ec23f246a1ed01f2c8d1881a 100644 (file)
@@ -1219,7 +1219,8 @@ read_type (pp, objfile)
      for instance in a two-dimensional array declared with type
      "ar1;1;10;ar1;1;10;4".  */
   if ((**pp >= '0' && **pp <= '9')
-      || **pp == '(')
+      || **pp == '('
+      || **pp == '-')
     {
       if (read_type_number (pp, typenums) != 0)
        return error_type (pp);
This page took 0.022612 seconds and 4 git commands to generate.