diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2021-06-09 13:24:49 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2021-06-09 13:24:49 -0300 |
| commit | c0ed74c1e130aa6d80e5ffc7b6e32b433aca1765 (patch) | |
| tree | 6caf17f0f3aa49ce9623dbb435c7897a4046687d | |
| parent | fc6c74f1004b5f67d0503633ddb74174a3c8d6ad (diff) | |
| download | lua-c0ed74c1e130aa6d80e5ffc7b6e32b433aca1765.tar.gz lua-c0ed74c1e130aa6d80e5ffc7b6e32b433aca1765.tar.bz2 lua-c0ed74c1e130aa6d80e5ffc7b6e32b433aca1765.zip | |
Avoid the term "undefined behavior" in the manual
| -rw-r--r-- | manual/manual.of | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/manual/manual.of b/manual/manual.of index 2a837b5e..8cf0abfc 100644 --- a/manual/manual.of +++ b/manual/manual.of | |||
| @@ -6365,9 +6365,8 @@ The order in which the indices are enumerated is not specified, | |||
| 6365 | (To traverse a table in numerical order, | 6365 | (To traverse a table in numerical order, |
| 6366 | use a numerical @Rw{for}.) | 6366 | use a numerical @Rw{for}.) |
| 6367 | 6367 | ||
| 6368 | The behavior of @id{next} is undefined if, | 6368 | You should not assign any value to a non-existent field in a table |
| 6369 | during the traversal, | 6369 | during its traversal. |
| 6370 | you assign any value to a non-existent field in the table. | ||
| 6371 | You may however modify existing fields. | 6370 | You may however modify existing fields. |
| 6372 | In particular, you may set existing fields to nil. | 6371 | In particular, you may set existing fields to nil. |
| 6373 | 6372 | ||
