Commit 6edb679
Matthias Kastner
fix inconsistency
since Function parsing is the first thing in parseProcedure(),
numEntries=0 and idx is basically starting to run at idx=0 in the for
loop. Therefore, function parsing worked as expected.
This is unwanted behaviour, as the function depends on being called first.
If not, not all list items from `funcList` will be read in `func =
StringFromList(idx, funcList)`. Depending on numEntries in declWave.
Changing this to a for loop that parses all functions no matter of the
current length of declWave.1 parent 397cff9 commit 6edb679
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
297 | | - | |
| 297 | + | |
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
305 | | - | |
306 | | - | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
307 | 309 | | |
308 | 310 | | |
309 | 311 | | |
| |||
319 | 321 | | |
320 | 322 | | |
321 | 323 | | |
| 324 | + | |
322 | 325 | | |
323 | 326 | | |
324 | 327 | | |
| |||
0 commit comments