From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24445 invoked by alias); 22 Mar 2010 19:15:02 -0000 Received: (qmail 24293 invoked by uid 48); 22 Mar 2010 19:14:45 -0000 Date: Mon, 22 Mar 2010 19:15:00 -0000 Message-ID: <20100322191445.24292.qmail@sourceware.org> From: "chwang 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/msg00737.txt.bz2 ------- Additional Comments From chwang at redhat dot com 2010-03-22 19:14 ------- 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. -- 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.