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

Curly braces in string literal in function call causes wrong syntax highlinting #4599

Closed
vrabcak opened this issue Mar 23, 2016 · 2 comments
Closed
Assignees

Comments

@vrabcak
Copy link

vrabcak commented Mar 23, 2016

  • VSCode Version: 0.10.11
  • OS Version: Windows 7

Steps to Reproduce:

  1. Enter function call fn("{};"); anywhere in a C++ file
  2. Syntax higlighting for the rest of the file gets confused - the string is not ended correctly

However string literal in an expression works fine, e.g. a = "{}";

image

@vchegwidden
Copy link

+1

  • VSCode Version: 0.10.10
  • OS Version: Windows 7 & OS X El Capitan

capture

@aeschli
Copy link
Contributor

aeschli commented Apr 1, 2016

Duplicate of #4769

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants