[TableGen] Correct the documentation for 'foreach' in the Language Intro.
authorCraig Topper <craig.topper@gmail.com>
Sat, 6 Jun 2015 00:44:42 +0000 (00:44 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sat, 6 Jun 2015 00:44:42 +0000 (00:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239204 91177308-0d34-0410-b5e6-96231b3b80d8

docs/TableGen/LangIntro.rst

index 85c74a5b46087b91d99756785f3c84b5289b0b65..4d4551e8a6e74c6981b1b3702fb76933e75e8f11 100644 (file)
@@ -190,7 +190,7 @@ supported include:
     for 'a' in 'c.'  This operation is analogous to $(subst) in GNU make.
 
 ``!foreach(a, b, c)``
-    For each member 'b' of dag or list 'a' apply operator 'c.'  'b' is a dummy
+    For each member of dag or list 'b' apply operator 'c.'  'a' is a dummy
     variable that should be declared as a member variable of an instantiated
     class.  This operation is analogous to $(foreach) in GNU make.