Skip to content
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

Parsing whitespace separated dot operator in a array defintions #127

Open
mrelg opened this issue Apr 29, 2024 · 0 comments
Open

Parsing whitespace separated dot operator in a array defintions #127

mrelg opened this issue Apr 29, 2024 · 0 comments

Comments

@mrelg
Copy link

mrelg commented Apr 29, 2024

disp( [ 'Error: ' ME . message ] );
disp( [ 'Error: ' ME .message ] );
disp( [ 'Error: ' ME. message ] );
disp( [ 'Error: ' ME.message ] );
disp( [ 'Error: ', ME . message ] );
disp( [ 'Error: ', ME .message ] );
disp( [ 'Error: ', ME. message ] );

should all be parsed the same as
disp( [ 'Error: ', ME.message ] );

MBeautifier is erroneously parsing
disp( [ 'Error: ' ME . message ] );
like this
disp( [ 'Error: ', ME, ., message ] );
which isn't valid Matlab syntax and neither is it in agreement with Matlab parser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant