From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4748 invoked by alias); 2 Jun 2004 21:37:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 4714 invoked by uid 48); 2 Jun 2004 21:37:57 -0000 Date: Wed, 02 Jun 2004 21:37:00 -0000 Message-ID: <20040602213757.4713.qmail@sourceware.org> From: "igodard at pacbell dot net" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040602213140.15787.igodard@pacbell.net> References: <20040602213140.15787.igodard@pacbell.net> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/15787] Poor error message X-Bugzilla-Reason: CC X-SW-Source: 2004-06/txt/msg00275.txt.bz2 List-Id: ------- Additional Comments From igodard at pacbell dot net 2004-06-02 21:37 ------- p.s. Also put the line number of the opener in the info on that side stack. Then you can say "expected...; possibly a missing '}' matching the '{' on line 17?". You wouldn't really need this in Algol68 or other languages with distinct opener/closer pairs, but in C with the heavy overload of "{}" and "()" it would be real helpful. And you *are* trying to be helpful, aren't you? :-) Ivan -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15787