New parsing algorithm for input lists. fixes #1203 and #2239
Testing the new parsing algorithm for input lists.
Merge pull request #629 from jeffali/fix/1203-2239

Fix/1203 2239