summaryrefslogtreecommitdiffstats
path: root/BaseTools
diff options
context:
space:
mode:
authorEric Dong <eric.dong@intel.com>2014-12-30 03:03:37 +0000
committerydong10 <ydong10@Edk2>2014-12-30 03:03:37 +0000
commit871f6733152c08e6c68e5de8580ac624fb65269a (patch)
tree3792240a691d5f9f6e48e0255ebe25f309775f43 /BaseTools
parent6f6792b82085c125df476ed5f8347afcbad1af5d (diff)
downloadedk2-871f6733152c08e6c68e5de8580ac624fb65269a.tar.gz
edk2-871f6733152c08e6c68e5de8580ac624fb65269a.tar.bz2
edk2-871f6733152c08e6c68e5de8580ac624fb65269a.zip
Rollback change 16544.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong <eric.dong@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16561 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools')
-rw-r--r--BaseTools/Source/C/VfrCompile/VfrSyntax.g4
1 files changed, 2 insertions, 2 deletions
diff --git a/BaseTools/Source/C/VfrCompile/VfrSyntax.g b/BaseTools/Source/C/VfrCompile/VfrSyntax.g
index 65a9e4e7f2..1a5b3fd588 100644
--- a/BaseTools/Source/C/VfrCompile/VfrSyntax.g
+++ b/BaseTools/Source/C/VfrCompile/VfrSyntax.g
@@ -987,13 +987,13 @@ vfrStatementVarStoreEfi :
_PCATCH(gCVfrVarDataTypeDB.GetDataTypeSize(TypeName, &Size), LineNum);
} else {
_PCATCH(mCVfrDataStorage.DeclareBufferVarStore (
- StoreName,
+ TN->getText(),
&Guid,
&gCVfrVarDataTypeDB,
TypeName,
VarStoreId
), LineNum);
- _PCATCH(mCVfrDataStorage.GetVarStoreId(StoreName, &VarStoreId, &Guid), VN);
+ _PCATCH(mCVfrDataStorage.GetVarStoreId(TN->getText(), &VarStoreId, &Guid), VN);
_PCATCH(gCVfrVarDataTypeDB.GetDataTypeSize(TypeName, &Size), N->getLine());
}
VSEObj.SetGuid (&Guid);