Skip to content

[C++] Parentheses in macro arguments break syntax highlighting #4525

@GreenLightning

Description

@GreenLightning

What happened?

In Unreal Engine programming it is very common to annotate code with macros like the following, however, the extra parentheses ((Abstract)) in the macro arguments break the syntax highlighting (see how the public keyword is highlighted differently than in MyPlainStruct).

Image Image
struct MyPlainStruct
{
public:
};

USTRUCT(meta = (Abstract))
struct MyUStruct
{
public:
	// ....
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions