Skip to content

Commit 6a6e6af

Browse files
author
Yonghong Zhu
committed
DEC Spec: !error statement is not permitted in DEC file
Cc: Liming Gao <liming.gao@intel.com> Cc: Michael Kinney <michael.d.kinney@intel.com> Cc: Kevin W Shaw <kevin.w.shaw@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
1 parent 5c564f9 commit 6a6e6af

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

2_dec_file_overview/22_declaration_file_format.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!--- @file
22
2.2 Declaration File Format
33
4-
Copyright (c) 2007-2017, Intel Corporation. All rights reserved.<BR>
4+
Copyright (c) 2007-2018, Intel Corporation. All rights reserved.<BR>
55
66
Redistribution and use in source (original document form) and 'compiled'
77
forms (converted to PDF, epub, HTML and other formats) with or without
@@ -406,3 +406,7 @@ code and must follow the C variable name rule.
406406
### 2.2.8 Conditional Directive Statements (!if...)
407407

408408
Conditional statements are NOT permitted in EDK II DEC files.
409+
410+
### 2.2.9 !error Statements
411+
412+
The `!error` statement is NOT permitted in EDK II DEC files.

3_edk_ii_dec_file_format/32_package_declaration_dec_definitions.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,11 @@ The conditional statements are not permitted anywhere within the DEC file.
401401

402402
The !include statement is not permitted in an EDK II DEC file.
403403

404-
### 3.2.5 Special Comment Blocks
404+
### 3.2.5 !error Statement
405+
406+
The `!error` statement is not permitted in an EDK II DEC file.
407+
408+
### 3.2.6 Special Comment Blocks
405409

406410
This section defines special format comment blocks that contain information
407411
about this package. These command blocks are not required.

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,3 +171,5 @@ Copyright (c) 2007-2017, Intel Corporation. All rights reserved.
171171
| 1.27 | Update Version to 1.27 | Mar 2018 |
172172
| | Add flexible PCD value format into spec | |
173173
| | Add structure PCD definition syntax | |
174+
| | Add clarification that !error statement is not permitted in DEC file | |
175+

0 commit comments

Comments
 (0)