From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38872) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gF1bs-0000YL-Va for qemu-devel@nongnu.org; Tue, 23 Oct 2018 14:40:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gF1bp-00012U-R4 for qemu-devel@nongnu.org; Tue, 23 Oct 2018 14:40:56 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:39083) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gF1bn-00010Z-Vk for qemu-devel@nongnu.org; Tue, 23 Oct 2018 14:40:53 -0400 Received: by mail-wr1-f68.google.com with SMTP id r10-v6so1923205wrv.6 for ; Tue, 23 Oct 2018 11:40:51 -0700 (PDT) References: <20181023120454.28553-1-richard.henderson@linaro.org> <20181023120454.28553-2-richard.henderson@linaro.org> <2eb3d12f-1a2b-8194-e1a4-cfd6396f3aa5@redhat.com> From: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= Message-ID: Date: Tue, 23 Oct 2018 20:40:48 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH 1/7] decodetree: Add !extern flag to argument sets List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson , qemu-devel@nongnu.org Cc: sagark@eecs.berkeley.edu, kbastian@mail.uni-paderborn.de, palmer@sifive.com, peer.adelt@hni.uni-paderborn.de, Alistair.Francis@wdc.com, mjc@sifive.com On 23/10/18 15:54, Richard Henderson wrote: > On 10/23/18 2:27 PM, Philippe Mathieu-Daudé wrote: >>> +        if re_fullmatch('!extern', t): >>> +            extern = True >> >> It looks odd to match a negative form then use a positive one. >> >> Why not simply use 'extern'? > > "!" is an escape character here. > Just "escape" would be a field named "escape". > > It follows existing similar syntax for !function=foo Oh OK! Thanks, Phil.