Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: dgoulet@efficios.com (David Goulet)
Subject: [lttng-dev] [PATCH lttng-tools] Fix: Handle the unary bitwise negation operator (~) in the XML printer
Date: Thu, 25 Oct 2012 15:56:29 -0400	[thread overview]
Message-ID: <5089996D.9080103@efficios.com> (raw)
In-Reply-To: <1351021001-18480-1-git-send-email-christian.babeux@efficios.com>

Merged!

Christian Babeux:
> Signed-off-by: Christian Babeux <christian.babeux at efficios.com>
> ---
>  src/lib/lttng-ctl/filter/filter-visitor-xml.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/src/lib/lttng-ctl/filter/filter-visitor-xml.c b/src/lib/lttng-ctl/filter/filter-visitor-xml.c
> index 90a336d..1d14f2e 100644
> --- a/src/lib/lttng-ctl/filter/filter-visitor-xml.c
> +++ b/src/lib/lttng-ctl/filter/filter-visitor-xml.c
> @@ -235,6 +235,9 @@ int recursive_visit_print(struct filter_node *node, FILE *stream, int indent)
>  		case AST_UNARY_NOT:
>  			fprintf(stream, "\"!\"");
>  			break;
> +		case AST_UNARY_BIN_NOT:
> +			fprintf(stream, "\"~\"");
> +			break;
>  		}
>  		fprintf(stream, ">\n");
>  		ret = recursive_visit_print(node->u.unary_op.child,



      parent reply	other threads:[~2012-10-25 19:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-23 19:36 Christian Babeux
2012-10-23 19:57 ` Mathieu Desnoyers
2012-10-25 19:56 ` David Goulet [this message]

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=5089996D.9080103@efficios.com \
    --to=dgoulet@efficios.com \
    /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