Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

#error directive doesn't handle ' or " correctly #233

Open
sean-mcmanus opened this issue Apr 27, 2017 · 4 comments · May be fixed by #251
Open

#error directive doesn't handle ' or " correctly #233

sean-mcmanus opened this issue Apr 27, 2017 · 4 comments · May be fixed by #251
Labels

Comments

@sean-mcmanus
Copy link

sean-mcmanus commented Apr 27, 2017

Use
#error doesn't

#error need "fixing

int j; '
The ' and " should not cause string highlighting until the next matching closing ' or " is found. Only the entire error line should be treated as a string.

@BillDenton
Copy link

Any news on this? I've just tripped over it again.

@sean-mcmanus
Copy link
Author

I don't have any news.

fnadeau pushed a commit to fnadeau/language-c that referenced this issue Oct 31, 2017
Fix highlight of error directive
@fnadeau fnadeau linked a pull request Oct 31, 2017 that will close this issue
fnadeau pushed a commit to fnadeau/language-c that referenced this issue Nov 6, 2017
Fix issue with spec.coffee failing. Message were not
properly tagged.
@beckerzito
Copy link

Any news on this issue?

@sean-mcmanus
Copy link
Author

The pull request with the tentative fix is #251 , but apparently some issue was found that hasn't yet been resolved.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants