diff options
author | Per Bothner <per@bothner.com> | 1995-12-01 08:04:51 +0000 |
---|---|---|
committer | Per Bothner <per@bothner.com> | 1995-12-01 08:04:51 +0000 |
commit | c8b2ba5d4801584559e674774b640b1da8c74738 (patch) | |
tree | 6efef24b07ba0e71e0e8917bce51d7eaf1f94d92 /gdb/ch-exp.c | |
parent | b10f8e5e5c3740b78e625251ff9795cf297a0262 (diff) | |
download | gdb-c8b2ba5d4801584559e674774b640b1da8c74738.zip gdb-c8b2ba5d4801584559e674774b640b1da8c74738.tar.gz gdb-c8b2ba5d4801584559e674774b640b1da8c74738.tar.bz2 |
* gdbtypes.c (check_stub_type): Removed; no longes needed.
* ch-exp.c (expect, parse_call): Tweak error messages.
Diffstat (limited to 'gdb/ch-exp.c')
-rw-r--r-- | gdb/ch-exp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/ch-exp.c b/gdb/ch-exp.c index 28f44fd..4ce2982 100644 --- a/gdb/ch-exp.c +++ b/gdb/ch-exp.c @@ -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); |