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

__attribute__ space between closing brackets breaks syntax highlighting #428

Closed
1 of 5 tasks
Yanpas opened this issue Dec 6, 2019 · 0 comments
Closed
1 of 5 tasks

Comments

@Yanpas
Copy link
Contributor

Yanpas commented Dec 6, 2019

Checklist

  • This problem exists even with the setting "C_Cpp.enhancedColorization": "Disabled"
  • This bug exists for C
  • This bug exists for C++
  • This bug exists for Objective-C
  • This bug exists for Objective-C++

The code with a problem is:

#include <unistd.h>
#include <fcntl.h>

struct fff
{
  int start;
} __attribute__(( packed ) );

int main() {
  puts("aaa");
}
void foo() {
    
}

It looks like:

** screenshot + theme name preferable **
image

It should look like:

image

here I removed space

@Yanpas Yanpas changed the title __attribute__ space between closing brackets break syntax highlighting __attribute__ space between closing brackets breaks syntax highlighting Mar 19, 2020
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