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

Erroneously recognizing keywords containing delimiters #3

Closed
sogaiu opened this issue Jul 5, 2020 · 2 comments
Closed

Erroneously recognizing keywords containing delimiters #3

sogaiu opened this issue Jul 5, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@sogaiu
Copy link
Owner

sogaiu commented Jul 5, 2020

:(, :[, :{, and others are currently recognized as keywords.

Thanks @pyrmont for spotting this!

@sogaiu
Copy link
Owner Author

sogaiu commented Jul 5, 2020

The following appears to help:

const KWD_AFTER_COLON_START =
      /[^\/:\s\(\(\[\]{}]/;

Need to see if it doesn't have any unintended side-effects.

@sogaiu
Copy link
Owner Author

sogaiu commented Sep 2, 2020

This should not be an issue in the overhauled grammar (starting around tag v0.0.2).

@sogaiu sogaiu closed this as completed Sep 2, 2020
@sogaiu sogaiu added the bug Something isn't working label Jul 31, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant