diff options
author | Eric Dong <eric.dong@intel.com> | 2015-05-06 09:27:07 +0000 |
---|---|---|
committer | ydong10 <ydong10@Edk2> | 2015-05-06 09:27:07 +0000 |
commit | e2a5feb9d6c468c0ddb0caed2581d10585819db5 (patch) | |
tree | 963b75b7210fe3431e13aa1f02ca5f10a26cb1a9 /BaseTools/Source | |
parent | 031aa3a722ef2df5d815255d6655d7a2f85d70f2 (diff) | |
download | edk2-e2a5feb9d6c468c0ddb0caed2581d10585819db5.tar.gz edk2-e2a5feb9d6c468c0ddb0caed2581d10585819db5.tar.bz2 edk2-e2a5feb9d6c468c0ddb0caed2581d10585819db5.zip |
BaseTool: Add refresh form opcode in vfrcompiler.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17333 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools/Source')
-rw-r--r-- | BaseTools/Source/C/VfrCompile/VfrSyntax.g | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/BaseTools/Source/C/VfrCompile/VfrSyntax.g b/BaseTools/Source/C/VfrCompile/VfrSyntax.g index 2255d6f60b..8e9f32b815 100644 --- a/BaseTools/Source/C/VfrCompile/VfrSyntax.g +++ b/BaseTools/Source/C/VfrCompile/VfrSyntax.g @@ -1458,7 +1458,8 @@ vfrFormDefinition : // Just for framework vfr compatibility
vfrStatementInvalid |
vfrStatementExtension |
- vfrStatementModal
+ vfrStatementModal |
+ vfrStatementRefreshEvent ";"
)*
E:EndForm <<
if (mCompatibleMode) {
@@ -1504,7 +1505,8 @@ vfrFormMapDefinition : vfrStatementLabel |
vfrStatementBanner |
vfrStatementExtension |
- vfrStatementModal
+ vfrStatementModal |
+ vfrStatementRefreshEvent ";"
)*
E:EndForm << CRT_END_OP (E); >>
";"
@@ -2710,7 +2712,7 @@ vfrStatementQuestionTag : vfrStatementRefresh |
vfrStatementVarstoreDevice |
vfrStatementExtension |
- vfrStatementRefreshEvent |
+ vfrStatementRefreshEvent "," |
vfrStatementWarningIf
;
@@ -2940,7 +2942,7 @@ vfrStatementRefreshEvent : EFI_GUID Guid;
>>
L:RefreshGuid << RiObj.SetLineNo(L->getLine()); >>
- "=" guidDefinition[Guid] "," << RiObj.SetRefreshEventGroutId (&Guid); >>
+ "=" guidDefinition[Guid] << RiObj.SetRefreshEventGroutId (&Guid); >>
;
vfrStatementVarstoreDevice :
|