Commit c71ca8c
authored
Update ldoc.ltp
Lua 5.5 treats for loop variables as const, which means it is no longer permitted to reassign them in the loop. Easy fix is to create a new local variable and use it instead.
I've done that for this and with that, ldoc now runs in the Penlight root without errors.1 parent e7f62e3 commit c71ca8c
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
296 | | - | |
| 296 | + | |
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
300 | | - | |
| 300 | + | |
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
| |||
0 commit comments