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

C syntax highlighter uses wrong colors after some macro definitions. #173

@aeschli

Description

@aeschli

From @danielkasza on September 30, 2016 15:36

  • VSCode Version: 1.5.3
  • OS Version: Ubuntu Gnome 16.04

Steps to Reproduce:

  1. Create a new C file.
  2. Copy&paste this code:
/* Syntax highlighting works here. */

#define TEST1 f(5)

/* Syntax highlighting is all messed up here. */

/* Workaround. */
#define TEST2 (f(5))

/* Now it's good again. */
  1. Observe that the second and third comments have the wrong color applied to them.

vscodecolor

Copied from original issue: microsoft/vscode#13085

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions