Fixed some typos
authorjwang36 <jwang36@7335b38e-4728-0410-8992-fb3ffe349368>
Mon, 10 Mar 2008 01:43:20 +0000 (01:43 +0000)
committerjwang36 <jwang36@7335b38e-4728-0410-8992-fb3ffe349368>
Mon, 10 Mar 2008 01:43:20 +0000 (01:43 +0000)
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1053 7335b38e-4728-0410-8992-fb3ffe349368

Source/C/VfrCompile/VfrSyntax.g

index ea48c66..303bd27 100644 (file)
@@ -105,13 +105,12 @@ VfrParserStart (
 #token Title("title")                           "title"\r
 #token FormId("formid")                         "formid"\r
 #token OneOf("oneof")                           "oneof"\r
-#token EndoneOf("endoneof")                     "endoneof"\r
+#token EndOneOf("endoneof")                     "endoneof"\r
 #token Prompt("prompt")                         "prompt"\r
 #token OrderedList("orderedlist")               "orderedlist"\r
 #token MaxContainers("maxcontainers")           "maxcontainers"\r
 #token EndList("endlist")                       "endlist"\r
 #token EndForm("endform")                       "endform"\r
-#token EndOneOf("endoneof")                     "endoneof"\r
 #token Form("form")                             "form"\r
 #token Subtitle("subtitle")                     "subtitle"\r
 #token Help("help")                             "help"\r
@@ -236,7 +235,7 @@ vfrProgram > [UINT8 Return] :
       vfrPragmaPackDefinition\r
     | vfrDataStructDefinition\r
   )*\r
-  vfrFromSetDefinition\r
+  vfrFormSetDefinition\r
   << $Return = mParserStatus; >>\r
   ;\r
 \r
@@ -285,7 +284,7 @@ vfrPragmaPackDefinition :
 \r
 vfrDataStructDefinition :\r
   { TypeDef } Struct                                << mCVfrVarDataTypeDB.DeclareDataTypeBegin (); >>\r
-  { NonNVDataMap }\r
+  { NonNvDataMap }\r
   {\r
     N1:StringIdentifier                             << _PCATCH(mCVfrVarDataTypeDB.SetNewTypeName (N1->getText()), N1); >>\r
   }\r
@@ -437,9 +436,9 @@ guidDefinition [EFI_GUID &Guid] :
 \r
 //*****************************************************************************\r
 //\r
-// the syntax of from set definition\r
+// the syntax of form set definition\r
 //\r
-vfrFromSetDefinition :\r
+vfrFormSetDefinition :\r
   <<\r
      EFI_GUID    Guid;\r
      CIfrFormSet FSObj;\r
@@ -472,7 +471,7 @@ vfrFormSetList :
     vfrStatementVarStoreEfi       |\r
     vfrStatementVarStoreNameValue |\r
     vfrStatementDefaultStore      |\r
-    vfrStatementDisableIfFromSet\r
+    vfrStatementDisableIfFormSet\r
   )*\r
   ;\r
 \r
@@ -617,7 +616,7 @@ subclassDefinition[UINT16 & SubClass] :
   | N:Number                                        << $SubClass |= _STOU16(N->getText()); >>\r
   ;\r
 \r
-vfrStatementDisableIfFromSet :\r
+vfrStatementDisableIfFormSet :\r
   << CIfrDisableIf DIObj; >>\r
   D:DisableIf                                       << DIObj.SetLineNo(D->getLine()); >>\r
   vfrStatementExpression[0] ";"\r