diff --git a/docs/TableGenFundamentals.html b/docs/TableGenFundamentals.html index 50349347dff..a74ffe3f0e1 100644 --- a/docs/TableGenFundamentals.html +++ b/docs/TableGenFundamentals.html @@ -299,7 +299,7 @@ value, such as 5.
-Note that all of the values have rules specifying how they convert to to values +Note that all of the values have rules specifying how they convert to values for different types. These rules allow you to assign a value like "7" to a "bits<4>" value, for example.
@@ -387,8 +387,8 @@ information that TableGen collects. Records are defined with a def or href="templateargs">template arguments". If the record has superclasses, they are specified as a comma seperated list that starts with a colon character (":"). If value definitions or let -expressions are needed for the class they are enclosed in curly braces -("{}"), otherwise the record ends with a semicolon. Here is a simple TableGen +expressions are needed for the class, they are enclosed in curly braces +("{}"); otherwise, the record ends with a semicolon. Here is a simple TableGen file: @@ -408,7 +408,7 @@ bit value. The Y definition also gets the Greeting member as well.In general, classes are useful for collecting together the commonality between a -group of records, and isolating it in a single places. Also, classes permit the +group of records and isolating it in a single place. Also, classes permit the specification of default values for their subclasses, allowing the subclasses to override them as they wish.
@@ -423,7 +423,7 @@ override them as they wish.Value definitions define named entries in records. A value must be defined -before it can be referred to as the operand for another value definition, or +before it can be referred to as the operand for another value definition or before the value is reset with a let expression. A value is defined by specifying a TableGen type and a name. If an initial value is available, it may be specified after the type with an @@ -439,9 +439,9 @@ equal sign. Value definitions require terminating semicolons.
A record-level let expression is used to change the value of a value definition in a record. This is primarily useful when a superclass defines a value that a -derived class or definitions wants to override. Let expressions consist of the -'let' keyword, followed by a value name, an equal sign ("="), and a new -value for example, a new class could be added to the example above, redefining +derived class or definition wants to override. Let expressions consist of the +'let' keyword followed by a value name, an equal sign ("="), and a new +value. For example, a new class could be added to the example above, redefining the V field for all of its subclasses: