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 5/5] INF Spec: !error statement is not permitted in INF file
Date: Thu, 31 May 2018 08:56:24 +0800	[thread overview]
Message-ID: <1527728184-1736-5-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_inf_overview/22_information_file_general_rules.md     | 8 ++++++--
 3_edk_ii_inf_file_format/32_component_inf_definition.md | 8 ++++++--
 README.md                                               | 1 +
 3 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/2_inf_overview/22_information_file_general_rules.md b/2_inf_overview/22_information_file_general_rules.md
index 55038f5..4741917 100644
--- a/2_inf_overview/22_information_file_general_rules.md
+++ b/2_inf_overview/22_information_file_general_rules.md
@@ -1,9 +1,9 @@
 <!--- @file
   2.2 Information File General Rules
 
-  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:
 
@@ -329,10 +329,14 @@ satisfy a library class dependency.
 
 ### 2.2.7 Conditional Directive Statements (!if...)
 
 Conditional statements are NOT permitted in the EDK II INF files.
 
-### 2.2.8 Expressions
+### 2.2.8 !error Statement
+
+The `!error` statement is NOT permitted in the EDK II INF files.
+
+### 2.2.9 Expressions
 
 Expressions are supported in specific statements within the EDK II INF files.
 The expression syntax is defined in the _EDK II Expression Syntax
 Specification_.
diff --git a/3_edk_ii_inf_file_format/32_component_inf_definition.md b/3_edk_ii_inf_file_format/32_component_inf_definition.md
index 5c6d8ac..7725ffe 100644
--- a/3_edk_ii_inf_file_format/32_component_inf_definition.md
+++ b/3_edk_ii_inf_file_format/32_component_inf_definition.md
@@ -1,9 +1,9 @@
 <!--- @file
   3.2 Component INF Definition
 
-  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:
 
@@ -425,11 +425,15 @@ The conditional statements are not permitted anywhere within the INF file.
 
 ### 3.2.4 !include Statement
 
 The `!include` statement is not permitted in an EDK II INF file.
 
-### 3.2.5 Special Comment Blocks
+### 3.2.5 !error Statement
+
+The `!error` statement is not permitted in an EDK II INF file.
+
+### 3.2.6 Special Comment Blocks
 
 This section defines special format comment blocks that contain information
 about this module. These comment blocks are not required. They may appear at
 the end of any section within the INF file, however it is preferred that they
 appear at the end of the file. The format of these comment blocks is the
diff --git a/README.md b/README.md
index 194d3e3..7d112f3 100644
--- a/README.md
+++ b/README.md
@@ -196,5 +196,6 @@ Copyright (c) 2007-2017, Intel Corporation. All rights reserved.
 |            | [#463](https://bugzilla.tianocore.org/show_bug.cgi?id=463) INF spec: document the LIB file type under the [Binaries] Section                                                                                                                                                        |               |
 |            | [#548](https://bugzilla.tianocore.org/show_bug.cgi?id=548) [INF spec] INF [LibraryClasses] section should not support ModuleType                                                                                                                                                    |               |
 |            | [#522](https://bugzilla.tianocore.org/show_bug.cgi?id=522) INF spec: add the clarification that PCD value may from build command                                                                                                                                                    |               |
 | 1.27       | Update version to 1.27                                                                                                                                                                                                                                                              | Mar 2018      |
 |            | Add Flexible PCD value format support                                                                                                                                                                                                                                               |               |
+|            | Add clarification that !error statement is not permitted in INF file                                                                                                                                                                                                                |               |
-- 
2.6.1.windows.1



  parent 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 ` [Patch 2/5] DEC Spec: !error statement is not permitted in DEC file Yonghong Zhu
2018-05-31  0:56 ` [Patch 3/5] DSC Spec: Add !error statement support Yonghong Zhu
2018-05-31  0:56 ` [Patch 4/5] FDF " Yonghong Zhu
2018-05-31  0:56 ` Yonghong Zhu [this message]
2018-05-31 10:27 ` [Patch 1/5] Build " 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-5-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