<GuidOrPcdStmt> ::= {"BEFORE"} {"AFTER"} <GuidOrPcdName> should be <GuidOrPcdStmt> ::= [{"BEFORE"} {"AFTER"}]<GuidOrPcdName>
The "BEFORE" or "AFTER" is optional key words in current implementation. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Bob Feng <bob.c.f...@intel.com> Cc: Liming Gao <liming....@intel.com> --- 3_edk_ii_inf_file_format/314_[depex]_sections.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3_edk_ii_inf_file_format/314_[depex]_sections.md b/3_edk_ii_inf_file_format/314_[depex]_sections.md index 942bcf9..3c0820a 100644 --- a/3_edk_ii_inf_file_format/314_[depex]_sections.md +++ b/3_edk_ii_inf_file_format/314_[depex]_sections.md @@ -179,11 +179,11 @@ and VOID* datum type, and the size of the PCD must be 16 bytes. <DxeDepexStatements> ::= {<SorStmt>} {<GuidOrPcdStmt>} {<BoolStmt>} <PeiDepex> ::= <PeiDepexStatements>* ["END" <EOL>] <PeiDepexStatements> ::= {<BoolStmt>} {<DepInstruct>} <SmmDepex> ::= <DxeDepex> -<GuidOrPcdStmt> ::= {"BEFORE"} {"AFTER"} <GuidOrPcdName> [<EOL>] +<GuidOrPcdStmt> ::= [{"BEFORE"} {"AFTER"}] <GuidOrPcdName> [<EOL>] <GuidOrPcdName> ::= {<GuidCName>} {<PcdName>} <DepInstruct> ::= "PUSH" <CFormatGUID> [<EOL>] <SorStmt> ::= "SOR" <BoolStmt> [<EOL>] <BoolStmt> ::= {<Bool>} {<BoolExpress>} <Bool> ::= {"TRUE"} {"FALSE"} {<GuidCName>} {<PcdName>} [<EOL>] -- 2.20.1.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel