[Bug translator/19926] macro arguments can't be passed to embedded C code

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


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

--- Comment #2 from David Smith <dsmith at redhat dot com> ---
One (somewhat) hacky way to express constants more easily, would be to just
define a new annotation. In other words,

   %{ /* constant */ FOO %}

could be the same thing as:

   %{ /* pure */ /* unprivileged */ /* stable */ FOO %}



Another idea would be to be able to something like:

   %{ /* pure-unprivileged-stable */ FOO %}

That last one is still a bit long, but better than 3 separate annotations.

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


More information about the Systemtap mailing list