Cc: Liming Gao <[email protected]> Cc: Michael Kinney <[email protected]> Cc: Kevin W Shaw <[email protected]> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Yonghong Zhu <[email protected]> --- 2_dec_file_overview/22_declaration_file_format.md | 6 +++++- 3_edk_ii_dec_file_format/32_package_declaration_dec_definitions.md | 6 +++++- README.md | 2 ++ 3 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/2_dec_file_overview/22_declaration_file_format.md b/2_dec_file_overview/22_declaration_file_format.md index 6ec30ff..4ebe23f 100644 --- a/2_dec_file_overview/22_declaration_file_format.md +++ b/2_dec_file_overview/22_declaration_file_format.md @@ -1,9 +1,9 @@ <!--- @file 2.2 Declaration File Format - Copyright (c) 2007-2017, Intel Corporation. All rights reserved.<BR> + Copyright (c) 2007-2018, Intel Corporation. All rights reserved.<BR> Redistribution and use in source (original document form) and 'compiled' forms (converted to PDF, epub, HTML and other formats) with or without modification, are permitted provided that the following conditions are met: @@ -404,5 +404,9 @@ PCD C name separated by a period "`.`" character. PCD C names are used in C code and must follow the C variable name rule. ### 2.2.8 Conditional Directive Statements (!if...) Conditional statements are NOT permitted in EDK II DEC files. + +### 2.2.9 !error Statements + +The `!error` statement is NOT permitted in EDK II DEC files. diff --git a/3_edk_ii_dec_file_format/32_package_declaration_dec_definitions.md b/3_edk_ii_dec_file_format/32_package_declaration_dec_definitions.md index dcf73d4..a3120f3 100644 --- a/3_edk_ii_dec_file_format/32_package_declaration_dec_definitions.md +++ b/3_edk_ii_dec_file_format/32_package_declaration_dec_definitions.md @@ -399,11 +399,15 @@ The conditional statements are not permitted anywhere within the DEC file. ### 3.2.4 !include Statement The !include statement is not permitted in an EDK II DEC file. -### 3.2.5 Special Comment Blocks +### 3.2.5 !error Statement + +The `!error` statement is not permitted in an EDK II DEC file. + +### 3.2.6 Special Comment Blocks This section defines special format comment blocks that contain information about this package. These command blocks are not required. The _UEFI Distribution Package Specification_ states the for a given PCD Token diff --git a/README.md b/README.md index bd076c0..1c593e9 100644 --- a/README.md +++ b/README.md @@ -169,5 +169,7 @@ Copyright (c) 2007-2017, Intel Corporation. All rights reserved. | | [#465](https://bugzilla.tianocore.org/show_bug.cgi?id=465) DEC spec: document private definitions | | | | [#482](https://bugzilla.tianocore.org/show_bug.cgi?id=482) DEC Spec: add clarification for [Ppis], [Guids], [Protocols], [Includes] Private support | | | 1.27 | Update Version to 1.27 | Mar 2018 | | | Add flexible PCD value format into spec | | | | Add structure PCD definition syntax | | +| | Add clarification that !error statement is not permitted in DEC file | | + \ No newline at end of file -- 2.6.1.windows.1 _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

