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

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to