Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 79D35C87FC5 for ; Mon, 21 Jul 2025 07:58:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=date:from:to:cc:in-reply-to:message-id:references: mime-version:subject:reply-to:sender:list-id:list-help: list-subscribe:list-unsubscribe:list-post:list-owner: list-archive; bh=tZk4iL7ICLXwPmcLhoY641GkjSWWcRZuV2kKmFGl+n0=; b=gU36TZmryViuwIG1zDaJQ6K2lLOKmseQ5z29R4Vk8O3Qt0PQ2FrmOaqU /eJq9Xgj8GznZ8xdisPH6K+4ReWeoxGugET2tj8RTyeK6wpZDZWeOLa4A 4dOqLJiAyqEwpKRLS0ekPPfuJPyzzl19Yyu6jNuSE8pt5Hdx0TZAWA2qy k=; X-CSE-ConnectionGUID: UXfm8jaKRQO9j1eH81/slw== X-CSE-MsgGUID: co8jxfZUQD2BXUsDPMQ6Cg== Received-SPF: Pass (mail2-relais-roc.national.inria.fr: domain of cocci-owner@inria.fr designates 128.93.162.160 as permitted sender) identity=mailfrom; client-ip=128.93.162.160; receiver=mail2-relais-roc.national.inria.fr; envelope-from="cocci-owner@inria.fr"; x-sender="cocci-owner@inria.fr"; x-conformance=spf_only; x-record-type="v=spf1"; x-record-text="v=spf1 include:mailout.safebrands.com a:basic-mail.safebrands.com a:basic-mail01.safebrands.com a:basic-mail02.safebrands.com ip4:128.93.142.0/24 ip4:192.134.164.0/24 ip4:128.93.162.160 ip4:128.93.162.3 ip4:128.93.162.88 ip4:89.107.174.7 mx ~all" Received-SPF: None (mail2-relais-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@sympa.inria.fr) identity=helo; client-ip=128.93.162.160; receiver=mail2-relais-roc.national.inria.fr; envelope-from="cocci-owner@inria.fr"; x-sender="postmaster@sympa.inria.fr"; x-conformance=spf_only Authentication-Results: mail2-relais-roc.national.inria.fr; spf=Pass smtp.mailfrom=cocci-owner@inria.fr; spf=None smtp.helo=postmaster@sympa.inria.fr; dkim=pass (signature verified) header.i=@inria.fr X-IronPort-AV: E=Sophos;i="6.16,328,1744063200"; d="scan'208";a="232410488" Received: from prod-listesu18.inria.fr (HELO sympa.inria.fr) ([128.93.162.160]) by mail2-relais-roc.national.inria.fr with ESMTP; 21 Jul 2025 09:58:26 +0200 Received: by sympa.inria.fr (Postfix, from userid 20132) id 243FDE0CD5; Mon, 21 Jul 2025 09:58:26 +0200 (CEST) Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id A969DE0171 for ; Mon, 21 Jul 2025 09:58:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=date:from:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=tZk4iL7ICLXwPmcLhoY641GkjSWWcRZuV2kKmFGl+n0=; b=WcmIPLAPeIwZRQTOB68+eQRe+npejyVpZ7QUWtgj378HsnXkvJFsrkFS 6O2hraseTpmol0pL+ED1vk2SPUJAGNbRKgJw89FKOh2ScrJNTgUvOJod8 UQbZxUd0G4vgy9EP/ALmZ/pAP1FJjcyrOnGpjaALEusJoCB2p4BBT/A89 M=; X-CSE-ConnectionGUID: hI9w8xzVQVqlRtecrVaRrQ== X-CSE-MsgGUID: mZGPQjaLS+6FQNTf5tn92g== X-IronPort-AV: E=Sophos;i="6.16,328,1744063200"; d="scan'208";a="232410474" Received: from dt-lawall.paris.inria.fr ([128.93.67.65]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2025 09:58:21 +0200 Date: Mon, 21 Jul 2025 09:58:21 +0200 (CEST) From: Julia Lawall To: Markus Elfring cc: cocci@inria.fr In-Reply-To: <9083cb34-5f8a-43d9-b908-43a9fe2a4281@web.de> Message-ID: <4752963-ce2-3e23-fe61-9cbd1acbbdc1@inria.fr> References: <0830325b-6697-49d1-a0a4-d06814c6450f@web.de> <21f78cc-6034-2b33-c2fb-cdf6d3694d2@inria.fr> <6fa377f7-0612-42aa-afbc-cdeab8bea314@web.de> <8a4b47e2-725e-769e-6bb-43e01113f9fa@inria.fr> <52ce78f5-8141-46dc-9ad0-5cbfedfd92a1@web.de> <9083cb34-5f8a-43d9-b908-43a9fe2a4281@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Subject: Re: [cocci] Reducing parentheses (with SmPL)? Reply-To: Julia Lawall X-Loop: cocci@inria.fr X-Sequence: 2888 Errors-To: cocci-owner@inria.fr Precedence: list Precedence: bulk Sender: cocci-request@inria.fr X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Archived-At: On Mon, 21 Jul 2025, Markus Elfring wrote: > >> I am trying to develop adjustments that are consistent and modify source code > >> places in a minimal and required way. > >> I find the influence of the data handling for parentheses important somehow. > > If you have some concrete problems please provide those concrete problems > > rather than vague descriptions. > > Would you find it really easier to clarify known data processing challenges > with the help of another SmPL script example? I at least understand th script. But I don't kjnow what problem does it raise? julia > > > @display@ > expression e; > statement x, y; > @@ > if ( > * e > ) > x > else > y > > > Regards, > Markus >