Skip to content

Commit

Permalink
[docs] Fixup fallout from other grammar fixup.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
chisophugis committed Feb 1, 2013
1 parent de4b0a0 commit f1f57c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/TableGen/LangRef.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f1f57c5

Please sign in to comment.