Fix an anchor.
[oota-llvm.git] / docs / TableGenFundamentals.html
index 89509c64eef960980677cdd5f9f59a94a2868d35..7924bd9a2479d5554d736fefea6db20d7ce605fb 100644 (file)
@@ -309,9 +309,11 @@ supported include:</p>
 <li><tt>value{17}</tt> - access to one bit of a value</li>
 <li><tt>value{15-17}</tt> - access to multiple bits of a value</li>
 <li><tt>DEF</tt> - reference to a record definition</li>
+<li><tt>CLASS&lt;val list&gt;</tt> - reference to a new anonymous definition of
+        CLASS with the specified template arguments.</li>
 <li><tt>X.Y</tt> - reference to the subfield of a value</li>
-<li>list[4-7,17,2-3] - A slice of the 'list' list, including elements 
-     4,5,6,7,17,2, and 3 from it.  Elements may be included multiple times.</li>
+<li><tt>list[4-7,17,2-3]</tt> - A slice of the 'list' list, including elements 
+4,5,6,7,17,2, and 3 from it.  Elements may be included multiple times.</li>
 <li><tt>(DEF a, b)</tt> - a dag value.  The first element is required to be a
 record definition, the remaining elements in the list may be arbitrary other
 values, including nested `<tt>dag</tt>' values.</li>
@@ -335,7 +337,7 @@ for different types.  These rules allow you to assign a value like "7" to a
 information that TableGen collects.  Records are defined with a <tt>def</tt> or
 <tt>class</tt> keyword, the record name, and an optional list of "<a
 href="#templateargs">template arguments</a>".  If the record has superclasses,
-they are specified as a comma seperated list that starts with a colon character
+they are specified as a comma separated list that starts with a colon character
 (":").  If <a href="#valuedef">value definitions</a> or <a href="#recordlet">let
 expressions</a> are needed for the class, they are enclosed in curly braces
 ("{}"); otherwise, the record ends with a semicolon.  Here is a simple TableGen
@@ -515,7 +517,7 @@ multiple records at a time, and may be useful in certain other cases.
 File-scope let expressions are really just another way that TableGen allows the
 end-user to factor out commonality from the records.</p>
 
-<p>File-scope "let" expressions take a comma-seperated list of bindings to
+<p>File-scope "let" expressions take a comma-separated list of bindings to
 apply, and one of more records to bind the values in.  Here are some
 examples:</p>
 
@@ -557,7 +559,7 @@ should highlight the APIs in <tt>TableGen/Record.h</tt>.</p>
   src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!" /></a>
 
   <a href="mailto:sabre@nondot.org">Chris Lattner</a><br>
-  <a href="http://llvm.cs.uiuc.edu">LLVM Compiler Infrastructure</a><br>
+  <a href="http://llvm.org">LLVM Compiler Infrastructure</a><br>
   Last modified: $Date$
 </address>