Index: docs/TableGen/LangRef.rst =================================================================== --- docs/TableGen/LangRef.rst +++ docs/TableGen/LangRef.rst @@ -294,7 +294,7 @@ leave it out. .. productionlist:: - SimpleValue: "(" `DagArg` `DagArgList` ")" + SimpleValue: "(" `DagArg` [`DagArgList`] ")" DagArgList: `DagArg` ("," `DagArg`)* DagArg: `Value` [":" `TokVarName`] | `TokVarName` @@ -325,7 +325,7 @@ Body: ";" | "{" BodyList "}" BodyList: BodyItem* BodyItem: `Declaration` ";" - :| "let" `TokIdentifier` [`RangeList`] "=" `Value` ";" + :| "let" `TokIdentifier` [ "{" `RangeList` "}" ] "=" `Value` ";" The ``let`` form allows overriding the value of an inherited field. @@ -353,7 +353,7 @@ -------- .. productionlist:: - Defm: "defm" `TokIdentifier` ":" `BaseClassListNE` ";" + Defm: "defm" [`TokIdentifier`] ":" `BaseClassListNE` ";" Note that in the :token:`BaseClassList`, all of the ``multiclass``'s must precede any ``class``'s that appear.