Coccinelle Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Robert.Larice@t-online.de (Robert Larice)
To: cocci@systeme.lip6.fr
Subject: [Cocci] a small nuisance report
Date: Sun, 29 Apr 2018 15:14:24 +0200	[thread overview]
Message-ID: <kkwowq17f3.fsf@bora.foobar.de> (raw)

Hello,

  attached is a small example which
    injects a statement and a comment.

  It works well, but does'nt do exactly as wanted.

  I get :

+    j /* comments are overrated */
+    -= 3;

  The comment popped up within the expression instead
    of in front of it.
  no bug, but uggly.

Regards,
  Robert

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ex2.c
Type: text/x-csrc
Size: 87 bytes
Desc: not available
URL: <https://systeme.lip6.fr/pipermail/cocci/attachments/20180429/760a0ab8/attachment.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ex2.cocci
URL: <https://systeme.lip6.fr/pipermail/cocci/attachments/20180429/760a0ab8/attachment.ksh>

             reply	other threads:[~2018-04-29 13:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-29 13:14 Robert Larice [this message]
2018-04-29 13:29 ` [Cocci] a small nuisance report Julia Lawall
2018-04-29 17:56 ` Julia Lawall
2018-04-29 18:10   ` Robert Larice
2018-04-29 18:30     ` Julia Lawall
2018-04-29 19:10       ` Robert Larice

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=kkwowq17f3.fsf@bora.foobar.de \
    --to=robert.larice@t-online.de \
    --cc=cocci@systeme.lip6.fr \
    /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