* gdbtypes.c (check_stub_type): Removed; no longes needed.
authorPer Bothner <per@bothner.com>
Fri, 1 Dec 1995 08:04:51 +0000 (08:04 +0000)
committerPer Bothner <per@bothner.com>
Fri, 1 Dec 1995 08:04:51 +0000 (08:04 +0000)
* ch-exp.c (expect, parse_call):  Tweak error messages.

gdb/ChangeLog
gdb/ch-exp.c
gdb/gdbtypes.c

index 076e30b04af991b6a88aa8dcef14f5e5c4afdd38..09c7adf92dc7f52940fcb73b832ce68164b29dff 100644 (file)
@@ -1,3 +1,8 @@
+Thu Nov 30 23:54:17 1995  Per Bothner  <bothner@kalessin.cygnus.com>
+
+       * gdbtypes.c (check_stub_type):  Removed;  no longes needed.
+       * ch-exp.c (expect, parse_call):  Tweak error messages.
+
 Wed Nov 29 13:35:18 1995  Per Bothner  <bothner@kalessin.cygnus.com>
 
        * scm-valprint.c (scm_isymnames):  Remove "#@" prefix.
index 28f44fd2e7f2222eb80f975e18e4d05861bcc0f1..4ce29821ed08b82fb0fc314987917dfd778b3474 100644 (file)
@@ -253,7 +253,7 @@ expect(token, message)
       if (message)
        error (message);
       else if (token < 256)
-       error ("syntax error - expected a '%c' here '%s'", token, lexptr);
+       error ("syntax error - expected a '%c' here \"%s\"", token, lexptr);
       else
        error ("syntax error");
       return 0;
@@ -478,7 +478,7 @@ parse_call ()
     }
   else
     arglist_len = 0;
-  expect (')', "expected ')' here");
+  expect (')', NULL);
   arg_count = end_arglist ();
   write_exp_elt_opcode (MULTI_SUBSCRIPT);
   write_exp_elt_longcst (arg_count);
index 36bf5a24f2721a5e016d78cf8c1cff1aa0cd5c1d..d023eede0783d61f3fd415c77051ad88b936acf9 100644 (file)
@@ -864,13 +864,6 @@ fill_in_vptr_fieldno (type)
 struct complaint stub_noname_complaint =
   {"stub type has NULL name", 0, 0};
 
-void
-check_stub_type (type)
-     struct type *type;
-{
-  check_typedef (type);
-}
-
 struct type *
 check_typedef (type)
      register struct type *type;
This page took 0.0296 seconds and 4 git commands to generate.