]> granicus.if.org Git - llvm/commitdiff
[docs] Fix TableGen/LangRef typos
authorJordan Rupprecht <rupprecht@google.com>
Thu, 13 Jun 2019 18:42:30 +0000 (18:42 +0000)
committerJordan Rupprecht <rupprecht@google.com>
Thu, 13 Jun 2019 18:42:30 +0000 (18:42 +0000)
This fixes:
 - `Pred` -> `Prep`
 - `IfDef` -> `Ifdef` (rst is case sensitive here)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363294 91177308-0d34-0410-b5e6-96231b3b80d8

docs/TableGen/LangRef.rst

index 195106ac6d1a58aa1158b4e30a7fd24a6464916b..5079bc60e3f9ea51b04f40e521c32ad9be2e1bf0 100644 (file)
@@ -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`)*