@@ -1316,8 +1316,9 @@ output. It is intended for debugging purpose.
1316
1316
instantiation point of the containing record.
1317
1317
1318
1318
.. productionlist ::
1319
- Dump: "dump" ` string ` ";"
1319
+ Dump: "dump" ` Value ` ";"
1320
1320
1321
+ The :token: `Value ` is an arbitrary string expression.
1321
1322
For example, it can be used in combination with `!repr ` to investigate
1322
1323
the values passed to a multiclass:
1323
1324
@@ -1364,11 +1365,12 @@ The ``assert`` statement checks a boolean condition to be sure that it is true
1364
1365
and prints an error message if it is not.
1365
1366
1366
1367
.. productionlist ::
1367
- Assert: "assert" `condition ` "," `message ` ";"
1368
+ Assert: "assert" `Value ` "," `Value ` ";"
1368
1369
1369
- If the boolean condition is true, the statement does nothing. If the
1370
- condition is false, it prints a nonfatal error message. The **message **, which
1371
- can be an arbitrary string expression, is included in the error message as a
1370
+ The first :token: `Value ` is a boolean condition. If it is true, the
1371
+ statement does nothing. If the condition is false, it prints a nonfatal
1372
+ error message. The second :token: `Value ` is a message, which can be an
1373
+ arbitrary string expression. It is included in the error message as a
1372
1374
note. The exact behavior of the ``assert `` statement depends on its
1373
1375
placement.
1374
1376
0 commit comments