diff --git a/docs/TableGenFundamentals.rst b/docs/TableGenFundamentals.rst index 56f06aabc7b..bfb2618998a 100644 --- a/docs/TableGenFundamentals.rst +++ b/docs/TableGenFundamentals.rst @@ -253,9 +253,9 @@ types are: Class type Specifying a class name in a type context means that the defined value must be a subclass of the specified class. This is useful in conjunction with - the **``list``** type, for example, to constrain the elements of the list to - a common base class (e.g., a ``**list**`` can only contain - definitions derived from the "``Register``" class). + the ``list`` type, for example, to constrain the elements of the list to a + common base class (e.g., a ``list`` can only contain definitions + derived from the "``Register``" class). ``dag`` This type represents a nestable directed graph of elements. @@ -354,13 +354,13 @@ supported include: ``str1#str2`` "#" (paste) is a shorthand for !strconcat. It may concatenate things that are not quoted strings, in which case an implicit !cast is done on - the operand of the paste. + the operand of the paste. ``!cast(a)`` A symbol of type *type* obtained by looking up the string 'a' in the symbol table. If the type of 'a' does not match *type*, TableGen aborts with an error. !cast is a special case in that the argument must be an - object defined by a 'def' construct. + object defined by a 'def' construct. ``!subst(a, b, c)`` If 'a' and 'b' are of string type or are symbol references, substitute 'b'