Skip to content

Commit 439de72

Browse files
authored
[TableGen][Docs] Fix productionlists for SimpleValue (llvm#123751)
Previously the grammar tokens SimpleValue2 through SimpleValue9 were unreferenced. This ties them together so that the grammar makes more sense.
1 parent 1cf9092 commit 439de72

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

llvm/docs/TableGen/ProgRef.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,16 @@ Simple values
367367
The :token:`SimpleValue` has a number of forms.
368368

369369
.. productionlist::
370-
SimpleValue: `TokInteger` | `TokString`+ | `TokCode`
370+
SimpleValue: `SimpleValue1`
371+
:| `SimpleValue2`
372+
:| `SimpleValue3`
373+
:| `SimpleValue4`
374+
:| `SimpleValue5`
375+
:| `SimpleValue6`
376+
:| `SimpleValue7`
377+
:| `SimpleValue8`
378+
:| `SimpleValue9`
379+
SimpleValue1: `TokInteger` | `TokString`+ | `TokCode`
371380

372381
A value can be an integer literal, a string literal, or a code literal.
373382
Multiple adjacent string literals are concatenated as in C/C++; the simple

0 commit comments

Comments
 (0)