]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/VfrCompile/VfrSyntax.g
BaseTools: Various typo
[mirror_edk2.git] / BaseTools / Source / C / VfrCompile / VfrSyntax.g
index c72a62ae91241593e73fceaf14950f354fab4829..f8465d47d484815f4a99ad0cdfab5c0957d45cf9 100644 (file)
@@ -64,7 +64,7 @@ VfrParserStart (
 //\r
 // Define a lexical class for parsing quoted strings. Basically\r
 // starts with a double quote, and ends with a double quote that\r
-// is not preceeded with a backslash.\r
+// is not preceded with a backslash.\r
 //\r
 #lexclass QUOTED_STRING\r
 #token TheString            "~[\"]*\"" << mode (START); >>\r
@@ -1214,7 +1214,7 @@ vfrStatementVarStoreNameValue :
   ;\r
 \r
 //\r
-// keep classDeinition and validClassNames for compatibility but not generate\r
+// keep classDefinition and validClassNames for compatibility but not generate\r
 // any IFR object\r
 //\r
 classDefinition[UINT16 & Class] :\r
@@ -4121,7 +4121,7 @@ vfrStatementExpression [UINT32 RootLevel, UINT32 ExpOpCount = 0] :
 \r
 //\r
 // Add new sub function for the sub expression extension to remember the ExpOpCount\r
-// This funciton is only called by sub expression.\r
+// This function is only called by sub expression.\r
 //\r
 vfrStatementExpressionSub [UINT32 RootLevel, UINT32 & ExpOpCount] :\r
   andTerm[$RootLevel, $ExpOpCount]\r
@@ -5615,7 +5615,7 @@ EfiVfrParser::_DeclareDefaultFrameworkVarStore (
       VSEObj.SetAttributes (0x00000002); //hardcode EFI_VARIABLE_BOOTSERVICE_ACCESS attribute\r
       VSEObj.SetGuid (&pNode->mGuid);\r
       VSEObj.SetVarStoreId (pNode->mVarStoreId);\r
-      // Generate old efi varstore storage structure for compatiable with old "VarEqVal" opcode,\r
+      // Generate old efi varstore storage structure for compatible with old "VarEqVal" opcode,\r
       // which is 3 bytes less than new structure define in UEFI Spec 2.3.1.\r
       VSEObj.SetBinaryLength (sizeof (EFI_IFR_VARSTORE_EFI) - 3);\r
 #ifdef VFREXP_DEBUG\r