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

MATLAB parser cleanup & fix for parsing 1./x #1673

Merged
merged 2 commits into from
Feb 6, 2021
Merged

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Jan 10, 2021

1st commit: Clarify recognition of "command form" by MATLAB parser.

Expand a bit the explanation; remove an unnecessary non-capturing group,
replace \s+ by \s at the end (we just need to check for the presence of
a space).

2nd commit: MATLAB: Correctly parse 1./x as (1)(./)(x).

@Anteru
Copy link
Collaborator

Anteru commented Feb 6, 2021

There have been quite a bunch of changes in the Matlab lexer. Could you please take a look and rebase to the latest version?

Expand a bit the explanation; remove an unnecessary non-capturing group,
replace \s+ by \s at the end (we just need to check for the presence of
a space).
@anntzer
Copy link
Contributor Author

anntzer commented Feb 6, 2021

rebased

@Anteru Anteru added this to the 2.8 milestone Feb 6, 2021
@Anteru Anteru added the changelog-update Items which need to get mentioned in the changelog label Feb 6, 2021
@Anteru
Copy link
Collaborator

Anteru commented Feb 6, 2021

Perfect, thanks a lot!

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

Successfully merging this pull request may close these issues.

None yet

2 participants