This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/19926] we need a better way to express constants in tapset code
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Fri, 08 Apr 2016 20:59:18 +0000
- Subject: [Bug translator/19926] we need a better way to express constants in tapset code
- Auto-submitted: auto-generated
- References: <bug-19926-6586 at http dot sourceware dot org/bugzilla/>
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.