* ch-exp.c (expect, parse_call): Tweak error messages.
+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.
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;
}
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);
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;