diff --git a/docs/TableGen/LangRef.rst b/docs/TableGen/LangRef.rst index 195106ac6d1..5079bc60e3f 100644 --- a/docs/TableGen/LangRef.rst +++ b/docs/TableGen/LangRef.rst @@ -482,9 +482,9 @@ It supports the following directives: : "#else" (`WhiteSpaceOrAnyComment`)* `LineEnd` PrepEndif: `LineBegin` (`WhiteSpaceOrCStyleComment`)* : "#endif" (`WhiteSpaceOrAnyComment`)* `LineEnd` - PrepRegContentException: `PredIfdef` | `PredElse` | `PredEndif` | EOF + PrepRegContentException: `PrepIfdef` | `PrepElse` | `PrepEndif` | EOF PrepRegion: .* - `PrepRegContentException` - :| `PrepIfDef` + :| `PrepIfdef` : (`PrepRegion`)* : [`PrepElse`] : (`PrepRegion`)*