From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12999 invoked by alias); 22 Sep 2008 05:02:05 -0000 Received: (qmail 12819 invoked by uid 48); 22 Sep 2008 05:00:52 -0000 Date: Mon, 22 Sep 2008 05:02:00 -0000 From: "mhiramat at redhat dot com" To: systemtap@sources.redhat.com Message-ID: <20080922050052.6908.mhiramat@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug translator/6908] New: "return" without value in "unknown" type function causes an error. 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: 2008-q3/txt/msg00723.txt.bz2 I found the following mysterious error message. --- $ stap -e 'function func:unknown() { return }' -p2 parse error: expected 'string' or 'long' saw: identifier 'unknown' at :1:15 1 parse error(s). Pass 1: parse failed. Try again with more '-v' (verbose) options. --- I think no one can expect any *unknown* value... -- Summary: "return" without value in "unknown" type function causes an error. Product: systemtap Version: unspecified Status: NEW Severity: normal Priority: P2 Component: translator AssignedTo: systemtap at sources dot redhat dot com ReportedBy: mhiramat at redhat dot com http://sourceware.org/bugzilla/show_bug.cgi?id=6908 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.