Fix a bug with splitting strings in Ascii input reader

The previous way of splitting strings would break if the last string in
the line was an empty string, and it would return one fewer fields than
it should have. This was breaking the last line in the
scripts.base.framework.input.ascii.setspecialcases once the bug fixed in
GH #1628 was fixed.
This commit is contained in:
Tim Wojtulewicz 2022-07-19 10:40:11 -07:00
parent a0cc34efb2
commit d57ad3e405
3 changed files with 16 additions and 37 deletions

View file

@ -17,9 +17,9 @@ testing,
testing,testing,testing,
{
}
}, s=[, , , ]],
}, s=[, testing]],
}, s=[]],
}, s=[testing, , testing]],
}, s=[testing, ]],
}, s=[testing,testing,testing,]]
}, ss=[, , , ]],
}, ss=[, testing]],
}, ss=[]],
}, ss=[testing, , testing]],
}, ss=[testing, ]],
}, ss=[testing,testing,testing,]]