[TableGen] Correct the documentation for 'foreach' in the Language Intro.
[oota-llvm.git] / 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.