This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/17156] completion needs to handle parse errors better
- From: "dje at google dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 14 Jul 2014 18:25:13 +0000
- Subject: [Bug gdb/17156] completion needs to handle parse errors better
- Auto-submitted: auto-generated
- References: <bug-17156-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17156
--- Comment #1 from dje at google dot com ---
Related issue, not sure it warrants a separate PR.
I don't see how the "return COMPLETE;" in
else if (saw_structop)
return COMPLETE;
in c-exp.y:lex_one_token can ever happen.
e.g. "struct foo ." or "struct ->" is a syntax error.
Presumably I'm missing something.
--
You are receiving this mail because:
You are on the CC list for the bug.