[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.

llvm-svn: 174144

llvm/docs/TableGen/LangRef.rst

index 0be0681..c9e1efb 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.