[Bug translator/19926] we need a better way to express constants in tapset code

dsmith at redhat dot com sourceware-bugzilla@sourceware.org
Fri Apr 8 20:59:00 GMT 2016


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.


More information about the Systemtap mailing list