[docs] Fixup fallout from other grammar fixup.
authorSean Silva <silvas@purdue.edu>
Fri, 1 Feb 2013 03:50:20 +0000 (03:50 +0000)
committerSean Silva <silvas@purdue.edu>
Fri, 1 Feb 2013 03:50:20 +0000 (03:50 +0000)
My "excuse" for not refactoring the grammar here is to not diverge too
far from the grammar in the comments of TGParser.cpp, since I'm not
taking on the quest of majorly refactoring TGParser.cpp at the moment.

One benefit of doing this is that Ideas for refactoring and clarifying
the grammar in this document should translate almost immediately to
beneficial refactorings that can be made to TGParser.cpp.

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

docs/TableGen/LangRef.rst

index 0be06814821c979e0b143fd54e50d9f7b8cdd5f1..c9e1efba03fbe1b6c6428b2c51eb6f1d54845bed 100644 (file)
@@ -343,7 +343,7 @@ a ``foreach``.
 --------
 
 .. productionlist::
-   Defm: "defm" `TokIdentifier` ":" `BaseClassList` ";"
+   Defm: "defm" `TokIdentifier` ":" `BaseClassListNE` ";"
 
 Note that in the :token:`BaseClassList`, all of the ``multiclass``'s must
 precede any ``class``'s that appear.