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/19926] we need a better way to express constants in tapset code


https://sourceware.org/bugzilla/show_bug.cgi?id=19926

--- Comment #4 from David Smith <dsmith at redhat dot com> ---
While talking about this, Frank came up with another idea of using a
script-level syntax like @const("...")   - kind of like @cast(). It could even
refer to a header file in which to find it, like @cast(). This new syntax would
just expand to the embedded-C %{ ... %}. So basically it would be a macro, but
implemented at the parser level with a @operator rather than the macro language
proper

But Josh noted that there is a lot more footwork for new syntax

-- 
You are receiving this mail because:
You are the assignee for the bug.

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