From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25837 invoked by alias); 22 Mar 2010 21:02:02 -0000 Received: (qmail 22202 invoked by uid 48); 22 Mar 2010 21:01:50 -0000 Date: Mon, 22 Mar 2010 21:02:00 -0000 Message-ID: <20100322210150.22198.qmail@sourceware.org> From: "dsmith at redhat dot com" To: systemtap@sources.redhat.com In-Reply-To: <20091106193626.10913.dsmith@redhat.com> References: <20091106193626.10913.dsmith@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug translator/10913] bad/misleading translator error message X-Bugzilla-Reason: AssignedTo Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2010-q1/txt/msg00739.txt.bz2 ------- Additional Comments From dsmith at redhat dot com 2010-03-22 21:01 ------- (In reply to comment #2) > Created an attachment (id=4671) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4671&action=view) > Patch for 10913 > > *Very* short patch for 10913. > > Would error messages like this be okay? > > Embedded: > parse error: could not find matching '%}' to close embedded function block > at: embedded-code at /home/chwang/Desktop/turnip.stp:3:1 > source: %{ > ^ > > Quotes: > parse error: Could not find matching closing quote > at: string 'enterprise' at :1:17 > source: global starship="enterprise > ^ > parse error: Could not find matching closing quote > at: string 'turnip)}' at :3:21 > source: probe begin {printf("turnip)} > ^ > > Took a look at doing something similar for '{' mismatches as well, but haven't > managed to do so without accidentally wiping out other errors within the block. Your new error messages look reasonable to me. -- http://sourceware.org/bugzilla/show_bug.cgi?id=10913 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.