Closed maxitg closed 3 years ago
What do you mean by:
I'm now using StandardForm instead of InputForm, which multiples expressions instead of retuning the list.
I see that there is still ToExpression[_, InputForm, Hold]
@daneelsan, sorry, forgot to update the comment. I'm not using this approach anymore.
Changes
test.wls
fails the test file parsing if there are trailing/leading comments.ToExpression[_, InputForm, Hold]
would pass multiple arguments toHold
in case multiple expressions were read from the file. And comments were treated asNull
expressions.Null
expressions, which should solve it unless there actually are multiple non-Null
expressions.Comments
Examples
SetReplace.wlt
:This change is