-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
treat newline as space in argument lists #191
Comments
I can fix it, but we might want to think about it. Some contexts (statement blocks and matrices) are newline-sensitive, for example:
does not parse as "2+3". We have to decide if it's ok for argument lists to be different. |
The current behavior seems unexpected. What are the downsides of making newlines inside of parens "just whitespace"? |
The only downside, which is pretty minor, is that the same syntax won't work in all cases. For example
applies
makes a 3-element cell array. |
In that case I'd say go for it. |
This version doesn't parse:
even though this one does:
The text was updated successfully, but these errors were encountered: