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]

Re: [PATCH v4] Add support for return statements without values


Hello!
On Fri, Aug 31, 2018 at 2:52 PM Yichun Zhang (agentzh) wrote:
> For user-defined stap functions which do not return any values, it can
> be convenient to allow *bare* return statements to take shortcuts in
> the control flow of the function body.
>

Committed with more test cases covering syntax error cases, with
fche's green light on IRC.

Best,
Yichun


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