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.

Regression: Syntax highlighting breaks after #define with no definition #218

@sean-mcmanus

Description

@sean-mcmanus

Repros with the VS Code 0.11.0-Insiders build, which got a new atom/language-c recently (0.10.2 doesn't repro this).

#ifndef _UCRT
    #define _UCRT
#endif

This is a before and after screenshot. The 2nd image is buggy on the 3rd line. The blue on the 1st line of the 1st image might be a bug that got fixed recently (not sure). The cause is the #define line without a definition, which is valid.

image

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