This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/6908] New: "return" without value in "unknown" type function causes an error.


I found the following mysterious error message.
---
$ stap -e 'function func:unknown() { return }' -p2
parse error: expected 'string' or 'long'
	saw: identifier 'unknown' at <input>: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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]