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 76C80C47E49 for ; Wed, 24 Jan 2024 18:08:21 +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=FKmogsX58KGCehSlEAuaKObnwKzN6RCnaGZluC09Yio=; b=mvjdsGDWTVEKcZ7pLm9hg6hrqHB2rw57+Ocsv5pk1I+73mcI/ILIGZ8R WW2RAhofLI5CI+dPdMhJ6HDkSPkPfFE8BcuRjvII93dv44/6mpCt2b42g M7K4ncml43jowy6mfpsqTMTq9tljYvjuPbDfKe0qWkCNw6KspbD4CoDfZ M=; 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: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.05,216,1701126000"; d="scan'208";a="148464141" Received: from prod-listesu18.inria.fr (HELO sympa.inria.fr) ([128.93.162.160]) by mail2-relais-roc.national.inria.fr with ESMTP; 24 Jan 2024 19:08:19 +0100 Received: by sympa.inria.fr (Postfix, from userid 20132) id EB258E008A; Wed, 24 Jan 2024 19:08:19 +0100 (CET) Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 7FA42E0035 for ; Wed, 24 Jan 2024 19:08:15 +0100 (CET) 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=FKmogsX58KGCehSlEAuaKObnwKzN6RCnaGZluC09Yio=; b=vhNN5s5S9IA5nKd0vlo8JNfUJNFMVBJOyN+Zjemfj0rBBUFI8wIeDeGq dqcfdB0aQUvRWPxYimgJ1qFVEq/LgRiiX2lzzrRUwAnUzWXKDJ+cebAme 6mo3pEz1SUtNXtjfiSt4FsMjfE2P4NkkkhG4MMAtUY7wpxmuq1Do4gaVN A=; X-IronPort-AV: E=Sophos;i="6.05,216,1701126000"; d="scan'208";a="77733551" Received: from dt-lawall.paris.inria.fr ([128.93.67.65]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jan 2024 19:08:15 +0100 Date: Wed, 24 Jan 2024 19:08:14 +0100 (CET) From: Julia Lawall To: Markus Elfring cc: cocci@inria.fr In-Reply-To: Message-ID: References: <4604ee8e-a876-4545-b0cb-e4fba2e187a2@web.de> <23ff96d1-8cf2-4736-be84-c00600b15a73@web.de> <297bf3e1-8262-a599-20ff-dc8086d5b87a@inria.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Subject: Re: [cocci] Checking a parse error for detailed SmPL rule properties Reply-To: Julia Lawall X-Loop: cocci@inria.fr X-Sequence: 1481 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 Wed, 24 Jan 2024, Markus Elfring wrote: > >>>> May SmPL rule identifiers be chosen freely? > >>> > >>> It seems that they should not be keywords. > >> > >> Should such SmPL identifiers be independent from an applied programming language > >> like OCaml? > > > > It has nothing to do with OCaml. or is an alternative form of || in C. > > Why would such a technical aspect influence the identifier selection > within the name space of a rule for the semantic patch language? Because or is now a keyword, and we don't allow keywords as rule names. You can't have if or while as a rule name either. Perhaps it could be fixed, but that is the explanation. julia