public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "wcohen at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: systemtap@sourceware.org
Subject: [Bug translator/24327] @defined unable to handle $$parms and $$vars meta variables
Date: Wed, 13 Mar 2019 18:16:00 -0000	[thread overview]
Message-ID: <bug-24327-6586-7zV3Cw2xdH@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-24327-6586@http.sourceware.org/bugzilla/>

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

--- Comment #1 from William Cohen <wcohen at redhat dot com> ---
Looking around the systemtap code to see where the following problem code is
generated:

     source: foreach (__val = [__idx0] in -)

It is coming from add_global_var_display in elaborate.cxx:

          // Iterate over all indexes in the array, sorted by decreasing value
          code << "foreach (";
          if (l->type != pe_stats)
            {
              foreach_value = "__val";
              code << foreach_value << " = ";
            }
          code << "[" << indexes << "] in " << l->unmangled_name << "-)" <<
endl;

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

  reply	other threads:[~2019-03-13 18:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-12 20:16 [Bug translator/24327] New: " wcohen at redhat dot com
2019-03-13 18:16 ` wcohen at redhat dot com [this message]
2019-03-13 18:26 ` [Bug translator/24327] " wcohen at redhat dot com
2019-03-13 21:06 ` wcohen at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-24327-6586-7zV3Cw2xdH@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=systemtap@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).