From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 08E0581EDD for ; Sun, 22 Jan 2017 17:57:07 -0800 (PST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP; 22 Jan 2017 17:57:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,272,1477983600"; d="scan'208";a="216390168" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga004.fm.intel.com with ESMTP; 22 Jan 2017 17:57:06 -0800 Received: from fmsmsx151.amr.corp.intel.com (10.18.125.4) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 22 Jan 2017 17:57:06 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX151.amr.corp.intel.com (10.18.125.4) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 22 Jan 2017 17:57:06 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.88]) by SHSMSX104.ccr.corp.intel.com ([10.239.4.70]) with mapi id 14.03.0248.002; Mon, 23 Jan 2017 09:57:04 +0800 From: "Gao, Liming" To: "Zhu, Yonghong" , "edk2-devel@lists.01.org" CC: Nikolai SAOUKH Thread-Topic: [edk2] [Patch] BaseTools: Convert incomplete expression with dangling while() Thread-Index: AQHSdGETJf2YuzBblEmAYtaSx+1icqFFTzeQ Date: Mon, 23 Jan 2017 01:57:03 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14D6D2883@shsmsx102.ccr.corp.intel.com> References: <1485056331-44532-1-git-send-email-yonghong.zhu@intel.com> In-Reply-To: <1485056331-44532-1-git-send-email-yonghong.zhu@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [Patch] BaseTools: Convert incomplete expression with dangling while() X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jan 2017 01:57:07 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Liming Gao >-----Original Message----- >From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of >Yonghong Zhu >Sent: Sunday, January 22, 2017 11:39 AM >To: edk2-devel@lists.01.org >Cc: Nikolai SAOUKH >Subject: [edk2] [Patch] BaseTools: Convert incomplete expression with >dangling while() > >From: Nikolai SAOUKH > >Contributed-under: TianoCore Contribution Agreement 1.0 >Signed-off-by: Nikolai SAOUKH >Reviewed-by: Yonghong Zhu >--- > BaseTools/Source/C/VfrCompile/VfrSyntax.g | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/BaseTools/Source/C/VfrCompile/VfrSyntax.g >b/BaseTools/Source/C/VfrCompile/VfrSyntax.g >index 4b42d3c..406dbc5 100644 >--- a/BaseTools/Source/C/VfrCompile/VfrSyntax.g >+++ b/BaseTools/Source/C/VfrCompile/VfrSyntax.g >@@ -1,9 +1,9 @@ > /*++ @file > Vfr Syntax > >-Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.
>+Copyright (c) 2004 - 2017, Intel Corporation. All rights reserved.
> This program and the accompanying materials > are licensed and made available under the terms and conditions of the BSD >License > which accompanies this distribution. The full text of the license may be= found >at > http://opensource.org/licenses/bsd-license.php > >@@ -31,12 +31,12 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY >KIND, EITHER EXPRESS OR IMPLIED. > #include "DLexerBase.h" > #include "VfrLexer.h" > #include "AToken.h" > > #define GET_LINENO(Obj) ((Obj)->getLine()) >-#define SET_LINE_INFO(Obj, L) {(Obj).SetLineNo((L)->getLine());} while (0= ) >-#define CRT_END_OP(Obj) {CIfrEnd EObj; if (Obj !=3D NULL) EObj.SetL= ineNo >((Obj)->getLine());} while (0) >+#define SET_LINE_INFO(Obj, L) do {(Obj).SetLineNo((L)->getLine());} while >(0) >+#define CRT_END_OP(Obj) do {CIfrEnd EObj; if (Obj !=3D NULL) >EObj.SetLineNo ((Obj)->getLine());} while (0) > > typedef ANTLRCommonToken ANTLRToken; > > class CVfrDLGLexer : public VfrLexer > { >-- >2.6.1.windows.1 > >_______________________________________________ >edk2-devel mailing list >edk2-devel@lists.01.org >https://lists.01.org/mailman/listinfo/edk2-devel