public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "nicola at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/44515] improve message for missing ";" Date: Tue, 18 Jan 2011 00:11:00 -0000 [thread overview] Message-ID: <bug-44515-4-mKnwSnYHmA@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-44515-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44515 Nicola Pero <nicola at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nicola at gcc dot gnu.org --- Comment #5 from Nicola Pero <nicola at gcc dot gnu.org> 2011-01-17 23:34:31 UTC --- I like Joseph's suggestion - I had been thinking for a while about the C/ObjC FE error messages and came to the same conclusion: ideally it should prominently mention the last valid token (that's how you think about the error, the code is valid until "bar()", then there is an error), but also mentioning the next, unexpected token helps you find the error location when you're looking at the code. So, shall we go for error: missing ‘;’ after expression and before ‘}’ then ? I guess we'd need to change all the errors in sync. Thanks
next parent reply other threads:[~2011-01-17 23:34 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-44515-4@http.gcc.gnu.org/bugzilla/> 2011-01-18 0:11 ` nicola at gcc dot gnu.org [this message] 2010-06-13 12:44 [Bug c/44515] New: " manu at gcc dot gnu dot org 2010-06-13 17:26 ` [Bug c/44515] " pinskia at gcc dot gnu dot org 2010-06-13 17:33 ` manu at gcc dot gnu dot org 2010-06-13 18:25 ` joseph at codesourcery dot com 2010-06-13 19:33 ` manu at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-44515-4-mKnwSnYHmA@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).