Skip to content

Preprocessor computed include syntax busts additional highlighting #66

@jevolk

Description

@jevolk

There's a little known feature of GCC (and clang) called Computed Includes which is basically a way to use a #define or -D or macro value as the #include argument rather than directly using a fixed string. The manual doesn't show the best examples, but the way this tends to be used is without a closing > or basically: #include <MALLOC_H. It's quirky, but legit. Unfortunately the highlighter expects that closing > (and probably closing ") so the result is an overrun like this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions