From nobody Sat Jul 5 15:59:02 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1521296696617415.79858814673025; Sat, 17 Mar 2018 07:24:56 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6CA5A7FDC3; Sat, 17 Mar 2018 14:24:55 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 406FB7B553; Sat, 17 Mar 2018 14:24:55 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 066CC180BAE5; Sat, 17 Mar 2018 14:24:55 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w2HEOGIe000720 for ; Sat, 17 Mar 2018 10:24:16 -0400 Received: by smtp.corp.redhat.com (Postfix) id DFC1680E97; Sat, 17 Mar 2018 14:24:16 +0000 (UTC) Received: from mx1.redhat.com (ext-mx06.extmail.prod.ext.phx2.redhat.com [10.5.110.30]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D8C2E77D48 for ; Sat, 17 Mar 2018 14:24:16 +0000 (UTC) Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4060D356CA for ; Sat, 17 Mar 2018 14:24:15 +0000 (UTC) Received: by mail-wr0-f193.google.com with SMTP id o1so14281379wro.10 for ; Sat, 17 Mar 2018 07:24:15 -0700 (PDT) Received: from rst.Home ([2a02:c7d:692a:c500:1ebc:73f3:5f60:b131]) by smtp.gmail.com with ESMTPSA id i66sm11060550wmd.0.2018.03.17.07.24.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 17 Mar 2018 07:24:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=sXZwuGrddT4jvt2hIVFuiJY95cMmUkUCeJJJQn3Q3Gw=; b=or+Dmy5HWIk1C7tdQTO70QcJrda5RKHHwIXZaJf3/yrIr82qvTb0se07S9qSSCWBnh X265DlEwDsdeAB6bGvcQu0PKf+czQR8m6XWHWS9yWM8yNn6UTz/NhGQOf2Y7PYOio5yO xozgmnetLNfpYwkAs1PAGACC6ak21Xl8XRSwTMEDa8MtpSJyrGE5ScOatd7WqpAI4xjN u06np9fxNsHnBVxFA/w6xkWsVlMliui+ZzbDbh9vJ3Wel5qwjWpy41geFwzLqNTUsdYh ShkGAUlI5jUeW4TaX91w+l3GdlZbZ5Pd/tv2yFoqtXnwWgTUNN5FaWhiYBTJAqKRmsZT ZJiQ== 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=sXZwuGrddT4jvt2hIVFuiJY95cMmUkUCeJJJQn3Q3Gw=; b=mhHMsWxnftoj0a9uYJMOTNVSfJL4Ktmpt2tmrDRnKs3IsKoJu+HMqFrHO23embJIpz 3NqgEYJ2f5FAu0fjO53PuTZtI/Dd8OnJq9ZMI8cLxJ9+G3keAyZhePDx2d/hRODZNlY3 BoKtb9zqIZU8aTEwggLy9nceaKzRHW3EkBmr/1ne00ckN50WxMOMU7cEY4+oV8mbk3CM Ox2A+WRalLeeCHL+bWKTSACaSx0sjplERTz3sDPb10kZZH3PtOHprraAHuYQ7v5hqKAn hjE/VvkdlLeggSisMNr2XUx5bi1gjrNPRSlzYDQhVNpf9QwVcgbTGWBL5ilMJwkshT7e CLdQ== X-Gm-Message-State: AElRT7HhKavCggX9drEmJvmp2VapRVi4qGcO45INwIVH2dM2DYYRmmbl WnM97ZsrGEzksHdSzETt29bdv2ZV X-Google-Smtp-Source: AG47ELuGzpswIxxusIkiz2YcWzyGnhxGTUiu/gsd5FMc/NR0mWKRde/dKozfrbNjwlCxRXBmrB0uaQ== X-Received: by 10.223.129.67 with SMTP id 61mr283992wrm.240.1521296653621; Sat, 17 Mar 2018 07:24:13 -0700 (PDT) From: Radostin Stoyanov To: libvir-list@redhat.com Date: Sat, 17 Mar 2018 14:23:39 +0000 Message-Id: <20180317142340.11653-22-rstoyanov1@gmail.com> In-Reply-To: <20180317142340.11653-1-rstoyanov1@gmail.com> References: <20180317142340.11653-1-rstoyanov1@gmail.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Sat, 17 Mar 2018 14:24:15 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Sat, 17 Mar 2018 14:24:15 +0000 (UTC) for IP:'209.85.128.193' DOMAIN:'mail-wr0-f193.google.com' HELO:'mail-wr0-f193.google.com' FROM:'rstoyanov1@gmail.com' RCPT:'' X-RedHat-Spam-Score: 0.139 (DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_PASS) 209.85.128.193 mail-wr0-f193.google.com 209.85.128.193 mail-wr0-f193.google.com X-Scanned-By: MIMEDefang 2.78 on 10.5.110.30 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Cc: Radostin Stoyanov Subject: [libvirt] [PATCH 21/22] apibuild: Simplify merging of preproc tokens X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Sat, 17 Mar 2018 14:24:55 +0000 (UTC) X-ZohoMail-DKIM: fail (Computed bodyhash is different from the expected one) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Radostin Stoyanov Reviewed-by: Daniel P. Berrang=C3=A9 --- docs/apibuild.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/apibuild.py b/docs/apibuild.py index f9784f9bd..24e0eb505 100755 --- a/docs/apibuild.py +++ b/docs/apibuild.py @@ -479,8 +479,8 @@ class CLexer: # of '#define' we might end up with '#' and 'define'. This # merges them back together if self.tokens[0][1] =3D=3D "#": - self.tokens[0] =3D ('preproc', self.tokens[0][1] + sel= f.tokens[1][1]) - self.tokens =3D self.tokens[:1] + self.tokens[2:] + self.tokens[0] =3D ('preproc', "#" + self.tokens[1][1]) + del self.tokens[1] break l =3D len(line) if line[0] =3D=3D '"' or line[0] =3D=3D "'": --=20 2.14.3 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list