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.

Invalid macro highlighting #111

@proowl

Description

@proowl

Example:

#define LOG1(sev) \
  LOG2(sev) << "#" << " smth "

// everything further is highlighted as string literal
int f(void) {
// smth
}

But when LOG2 takes no arguments, it's ok (the same effect if remove #) :

#define LOG1(sev) \
  LOG2 << "#" << " smth "

int f(void) {
// smth
}

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