|
From: <hu...@us...> - 2014-03-14 05:09:39
|
Revision: 2657
http://sourceforge.net/p/edk2-buildtools/code/2657
Author: huzq
Date: 2014-03-14 05:09:36 +0000 (Fri, 14 Mar 2014)
Log Message:
-----------
Fix tracker 210283: ECC not support keyword "IN" used in conditional directives.
Signed-off-by: Hu, Zhenqing <zhe...@in...>
Reviewed-by: Chen, Hesheng <hes...@in...>
Modified Paths:
--------------
trunk/BaseTools/Source/Python/Ecc/MetaFileWorkspace/MetaFileParser.py
Modified: trunk/BaseTools/Source/Python/Ecc/MetaFileWorkspace/MetaFileParser.py
===================================================================
--- trunk/BaseTools/Source/Python/Ecc/MetaFileWorkspace/MetaFileParser.py 2014-02-27 05:20:21 UTC (rev 2656)
+++ trunk/BaseTools/Source/Python/Ecc/MetaFileWorkspace/MetaFileParser.py 2014-03-14 05:09:36 UTC (rev 2657)
@@ -1,7 +1,7 @@
## @file
# This file is used to parse meta files
#
-# Copyright (c) 2008 - 2010, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2008 - 2014, Intel Corporation. All rights reserved.<BR>
# 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
@@ -1054,7 +1054,7 @@
## Override parent's method since we'll do all macro replacements in parser
def _GetMacros(self):
- Macros = {}
+ Macros = dict( [('ARCH','IA32'), ('FAMILY','MSFT'),('TOOL_CHAIN_TAG','VS2008x86'),('TARGET','DEBUG')])
Macros.update(self._FileLocalMacros)
Macros.update(self._GetApplicableSectionMacro())
Macros.update(GlobalData.gEdkGlobal)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|