mathworks / MATLAB-Language-grammar

This repository contains a regular expression based language grammar for MATLAB to be used by GitHub Linguist for highlighting MATLAB code on GitHub
50 stars 17 forks source link

Add comma "," to list of delimiters that breaks parsing of unquoted strings #49

Closed nilsjor closed 4 months ago

nilsjor commented 1 year ago

Currently, the following line in a script

close all, format shortG

identifies close as a function and "all, format shortG" as an argument, which is not how MATLAB interprets it

dklilley commented 1 year ago

Hi! Sorry for the delay in looking at this. Can you add a test which verifies this behavior?

nothans commented 1 year ago

Can you contact me to sign the CLA? Thanks.