Skip to content

Drop no longer needed modification of the C++ grammar #756

@marco-c

Description

@marco-c

We should be able to drop

operator_name: $ => token(seq(
'operator',
/\s*/,
choice(
'+', '-', '*', '/', '%',
'^', '&', '|', '~',
'!', '=', '<', '>',
'+=', '-=', '*=', '/=', '%=', '^=', '&=', '|=',
'<<', '>>', '>>=', '<<=',
'==', '!=', '<=', '>=',
'&&', '||',
'++', '--',
',',
'->*',
'->',
'()', '[]',
'new', 'delete',
'new[]', 'delete[]',
)
)),
as it should be part of upstream now.

We should try to drop it, regenerate grammar and check that there are no differences in metrics.

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