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

Single quotes in comments parsed incorrectly #3

Closed
andyleejordan opened this issue May 8, 2015 · 1 comment
Closed

Single quotes in comments parsed incorrectly #3

andyleejordan opened this issue May 8, 2015 · 1 comment

Comments

@andyleejordan
Copy link

MATLAB single line comments (starting with %) and Octave ones (starting with # or %) are still being parsed. That is, if a single quote ' is in the comment, the grammar treats it as the start of a string, which causes code afterward to be parsed as part of that string.

I am not sure if the same problem applies to multi-line comments, but they should be checked too.

@andyleejordan
Copy link
Author

Nope nope noppity nope nope. Sorry, I'm new to Atom. Didn't see it was using Objective-C as the grammar. This parses totally fine.

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