Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[BUG] Lines with * in the middle appear as a comment #112

Open
brentlblair opened this issue Jun 16, 2020 · 3 comments
Open

[BUG] Lines with * in the middle appear as a comment #112

brentlblair opened this issue Jun 16, 2020 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@brentlblair
Copy link
Contributor

Describe the bug
If you use a * for multiplication, the linter thinks the * and everything after is a comment.
Code_Gj9hMwqnqa

To Reproduce
AMT=-1*PJ<5,X>

Screenshots

@kpowick kpowick self-assigned this Jun 16, 2020
@kpowick kpowick added the bug Something isn't working label Jun 16, 2020
@kpowick
Copy link
Member

kpowick commented Jun 16, 2020

This is a syntax highlighting issue, which should be separate from linting.

I can reproduce this, but it's a funny one. The issue is the numeric, in this case -1. If you substitute a character variable, it highlights correctly.

It seems more of a minor/cosmetic annoyance than anything else, but I'll try to get it fixed-up soon.

@kpowick kpowick added this to the v2.0.9 milestone Jun 16, 2020
@brentlblair
Copy link
Contributor Author

brentlblair commented Jun 16, 2020 via email

@kpowick
Copy link
Member

kpowick commented Jun 16, 2020

What you've been doing is perfect, and very helpful. ✅

By calling it "minor", I just wanted people to know that a fix/update might not be coming immediately. 😀

@kpowick kpowick removed this from the v2.0.9 milestone Aug 26, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants