Message ID | 20190312170334.14005-11-richard.henderson@linaro.org |
---|---|
State | Accepted |
Commit | 263ac638a76a72841e3f513b14c515680703e084 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp13383788jad; Tue, 12 Mar 2019 10:47:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqwNDx+ct7qXHgigZD5PKAHZ3LQLbIROiSItSm9/2o5eJfXsVu7hsn0T8R2OGUMrNTGThPPk X-Received: by 2002:a81:5e03:: with SMTP id s3mr30577197ywb.44.1552412857725; Tue, 12 Mar 2019 10:47:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552412857; cv=none; d=google.com; s=arc-20160816; b=Kze3mCxoaHPNcO8y0VnL7xCSrHyEyVdFwYQqjD3FSGzKu8BtolEA+k4slJB0infVDq dwc1jwbgQX4ELhLUzpPPdA+CpQG9X5EkNQpQNJMkfZ2DJKbKh2OxokGE4ymyGRnFiikB T417WfRL4QKCe3ib0bZF5gdb6kSuY4uxGpzKL6dLijPZniSRUhWufYnnykwPUZjl+Juv 5SOylyZm/pXixa2rB+bbbtZ5mVHX3R48ergTtPTUpEAaXt+t6CeKEYlP6cE9dDvm6OA1 eanfVBxwYKksoNefhZ1qpNAgiRzRKoGg37+e8DkTNtzivchCPtOEMwY5lLPCuJOe4xlE mJzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=juWEfS7NZ8OWLNIMee0mKuVA5Db/G1PLvQaDN8eMxSI=; b=PkuSJvJAW8XrGzMTO8XUdzwcgam7SEzaUIwpjTWWO+W6vUjK4vRG7OGGs7xgCP6a8S +85W/ec5hSfX4xubfn/Is1ak3LDTI4XV6qS6T4Ry8i1dQ2bWn0bXt8GJSHie1ubiSR1M ON3RW4ivPFuGniMN9/o5WkfH4Sp6+09Fj7mg86ZlQH/Iq3tUszWWTkpJJHahfnk6fED+ jvssNM1OjJEY060at935XT3uyDWn+Sz3Tnkj5DrI2iMYd1HLGEIYj9ALMl3f4klbbeYO pMq8hQshRtSzRZrGoHU67Y9oeYZ+Ha8Wc2FzziULEczVBpAbsG57NrmawknYRa5aWmlx MnAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=JVwXhhXb; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 11si5270465ywx.197.2019.03.12.10.47.37 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 12 Mar 2019 10:47:37 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=JVwXhhXb; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1]:56674 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1h3lV2-0005Mb-Tv for patch@linaro.org; Tue, 12 Mar 2019 13:47:36 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51578) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1h3l3K-000633-Ph for qemu-devel@nongnu.org; Tue, 12 Mar 2019 13:18:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1h3koy-0001Rk-Lf for qemu-devel@nongnu.org; Tue, 12 Mar 2019 13:04:09 -0400 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]:43789) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1h3kow-0001GP-LA for qemu-devel@nongnu.org; Tue, 12 Mar 2019 13:04:06 -0400 Received: by mail-pg1-x52c.google.com with SMTP id l11so2267095pgq.10 for <qemu-devel@nongnu.org>; Tue, 12 Mar 2019 10:03:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=juWEfS7NZ8OWLNIMee0mKuVA5Db/G1PLvQaDN8eMxSI=; b=JVwXhhXbMQK59lA5k50B2oIvhlkrTp0fNOSbHMsKRQ6df9gpmqydRRHr4VDd4LR+cY oKQUbayT6jPjvKQ5uJuTsrQBoFYKIEJ6QrIBXkE0EHOxGNv4+xDxrPjdwdn1Jn7BpXh9 KvaHE3zImN1xTYtyfFgNjSQjYF3yBhDgYBIDJ38MQr2N7ES4STWXgmjXV4+JEB0i8jW8 iR6uhbcVU8IJVIM78F74SR5BsQCYd60nIdDYhj+PSr0EVBMxByHUsfXie76+EET6hcCI FB0g2E7kug1L/f5AOYqhKmkNfE6MSFg/2eSg2nwwlx9XydThQmeEjAu18B+XpanYP+yG GSIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=juWEfS7NZ8OWLNIMee0mKuVA5Db/G1PLvQaDN8eMxSI=; b=cSyreJ96/sYeprUNKUj0pHsDZzGgwbwRRaCahu4L3xpylgw8DJm/uEyZ2RF26tuW6M dkLZzzTH708kO3emWbkeuKfTTmyZmuGe4Oyc+zbXiv8qByZsHP+1xsQH0BIf2a4AA2X1 cdkr40d8E9vY28Dx67sBy1HD067kvHvxUAWPHP9CPZTRT007hufWo5UmhdFO+ch4QkCF bhe6pzHIdpuF9L9ZqjfsvYcF9fIDLhb6dtC9afyiF+QElVq53OuVns650KjNC4H6UJ+I rTWjl48s2B03kGJVd/H8gciAvObPtDHwMBWlb4lii9WlJNHjktmbx1oRJyfz+9PtVhFq ioZA== X-Gm-Message-State: APjAAAVO5B427YhiDuFc/oWwdzGbBfl0WqOK4I11O6sHyiNzj29uzT8I QM9K+Y/8bllplplq44GCsZgvdYhl29U= X-Received: by 2002:a63:4f61:: with SMTP id p33mr36093394pgl.303.1552410230169; Tue, 12 Mar 2019 10:03:50 -0700 (PDT) Received: from cloudburst.twiddle.net (97-113-188-82.tukw.qwest.net. [97.113.188.82]) by smtp.gmail.com with ESMTPSA id v22sm17514265pfa.49.2019.03.12.10.03.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Mar 2019 10:03:49 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Date: Tue, 12 Mar 2019 10:03:32 -0700 Message-Id: <20190312170334.14005-11-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20190312170334.14005-1-richard.henderson@linaro.org> References: <20190312170334.14005-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::52c Subject: [Qemu-devel] [PULL 10/12] decodetree: Allow +- to begin a number initializing a field X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: peter.maydell@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
decodetree patches
|
expand
|
diff --git a/scripts/decodetree.py b/scripts/decodetree.py index 6e7ba278be..f6f58e2fec 100755 --- a/scripts/decodetree.py +++ b/scripts/decodetree.py @@ -589,7 +589,7 @@ def parse_generic(lineno, is_format, name, toks): continue # 'Foo=number' sets an argument field to a constant value - if re_fullmatch(re_ident + '=[0-9]+', t): + if re_fullmatch(re_ident + '=[+-]?[0-9]+', t): (fname, value) = t.split('=') value = int(value) flds = add_field(lineno, flds, fname, ConstField(value))
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- scripts/decodetree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.2