]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/Ecc/EccToolError.py
BaseTools/Ecc: Add some new checkpoints
[mirror_edk2.git] / BaseTools / Source / Python / Ecc / EccToolError.py
index 1d51da3ae19bf641950267c2301ed83bacf95e8d..ae0a31af8a8c1c10173a6ec9c8ecf7a55df3a95d 100644 (file)
@@ -1,7 +1,7 @@
 ## @file\r
 # Standardized Error Hanlding infrastructures.\r
 #\r
-# Copyright (c) 2008 - 2017, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.<BR>\r
 # This program and the accompanying materials\r
 # are licensed and made available under the terms and conditions of the BSD License\r
 # which accompanies this distribution.  The full text of the license may be found at\r
@@ -22,6 +22,8 @@ ERROR_GENERAL_CHECK_FILE_EXISTENCE = 1007
 ERROR_GENERAL_CHECK_NON_ACSII = 1008\r
 ERROR_GENERAL_CHECK_UNI = 1009\r
 ERROR_GENERAL_CHECK_UNI_HELP_INFO = 1010\r
+ERROR_GENERAL_CHECK_INVALID_LINE_ENDING = 1011\r
+ERROR_GENERAL_CHECK_TRAILING_WHITE_SPACE_LINE = 1012\r
 \r
 ERROR_SPACE_CHECK_ALL = 2000\r
 \r
@@ -109,7 +111,7 @@ ERROR_SMM_COMM_PARA_CHECK_BUFFER_TYPE = 12001
 \r
 gEccErrorMessage = {\r
     ERROR_GENERAL_CHECK_ALL : "",\r
-    ERROR_GENERAL_CHECK_NO_TAB : "'TAB' character is not allowed in source code, please replace each 'TAB' with two spaces",\r
+    ERROR_GENERAL_CHECK_NO_TAB : "'TAB' character is not allowed in source code, please replace each 'TAB' with two spaces.",\r
     ERROR_GENERAL_CHECK_INDENTATION : "Indentation does not follow coding style",\r
     ERROR_GENERAL_CHECK_LINE : "The width of each line does not follow coding style",\r
     ERROR_GENERAL_CHECK_NO_ASM : "There should be no use of _asm in the source file",\r
@@ -119,6 +121,8 @@ gEccErrorMessage = {
     ERROR_GENERAL_CHECK_NON_ACSII : "File has invalid Non-ACSII char",\r
     ERROR_GENERAL_CHECK_UNI : "File is not a valid UTF-16 UNI file",\r
     ERROR_GENERAL_CHECK_UNI_HELP_INFO : "UNI file that is associated by INF or DEC file need define the prompt and help information.",\r
+    ERROR_GENERAL_CHECK_INVALID_LINE_ENDING : "Only CRLF (Carriage Return Line Feed) is allowed to line ending.",\r
+    ERROR_GENERAL_CHECK_TRAILING_WHITE_SPACE_LINE : "There should be no trailing white space in one line.",\r
 \r
     ERROR_SPACE_CHECK_ALL : "",\r
 \r