davidvarga/MBeautifier

Parsing whitespace separated dot operator in a array defintions

Open

#127 opened on 2024年4月29日

GitHub で見る
 (0 comments) (0 reactions) (0 assignees)MATLAB (77 forks)batch import
bughelp wanted

Repository metrics

Stars
 (512 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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.

コントリビューターガイド