This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/10913] bad/misleading translator error message
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 22 Mar 2010 21:01:50 -0000
- Subject: [Bug translator/10913] bad/misleading translator error message
- References: <20091106193626.10913.dsmith@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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 <input>:1:17
> source: global starship="enterprise
> ^
> parse error: Could not find matching closing quote
> at: string 'turnip)}' at <input>: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.