public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Yonghong Zhu <yonghong.zhu@intel.com>
To: edk2-devel@lists.01.org
Cc: Liming Gao <liming.gao@intel.com>,
	Michael Kinney <michael.d.kinney@intel.com>,
	Kevin W Shaw <kevin.w.shaw@intel.com>
Subject: [Patch 2/5] DEC Spec: !error statement is not permitted in DEC file
Date: Thu, 31 May 2018 08:56:21 +0800	[thread overview]
Message-ID: <1527728184-1736-2-git-send-email-yonghong.zhu@intel.com> (raw)
In-Reply-To: <1527728184-1736-1-git-send-email-yonghong.zhu@intel.com>

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>
---
 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



  reply	other threads:[~2018-05-31  0:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-31  0:56 [Patch 1/5] Build Spec: Add !error statement support Yonghong Zhu
2018-05-31  0:56 ` Yonghong Zhu [this message]
2018-05-31  0:56 ` [Patch 3/5] DSC " Yonghong Zhu
2018-05-31  0:56 ` [Patch 4/5] FDF " Yonghong Zhu
2018-05-31  0:56 ` [Patch 5/5] INF Spec: !error statement is not permitted in INF file Yonghong Zhu
2018-05-31 10:27 ` [Patch 1/5] Build Spec: Add !error statement support Laszlo Ersek
2018-06-01  0:15   ` Zhu, Yonghong
2018-06-04 20:05 ` Kinney, Michael D
2018-06-05 12:36   ` Zhu, Yonghong
2018-06-07  8:00 ` Gao, Liming

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1527728184-1736-2-git-send-email-yonghong.zhu@intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox