davidvarga/MBeautifier

Parsing whitespace separated dot operator in a array defintions

Open

#127 创建于 2024年4月29日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)MATLAB (77 fork)batch import
bughelp wanted

仓库指标

Star
 (512 star)
PR 合并指标
 (30 天内没有已合并 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.

贡献者指南