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] macro arguments can't be passed to embedded C code


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.

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