grammars-v4 icon indicating copy to clipboard operation
grammars-v4 copied to clipboard

Unary OR in the CPP14 grammar does not exist in the standard

Open OmerSakar opened this issue 2 years ago • 0 comments

The CPP14 grammar file (liked below) describes 7 unary operators, of which the OR operator is one of them. The CPP14 standard does not describe such an operator nor is the operator described elsewhere.

https://github.com/antlr/grammars-v4/blob/30358d009ccd62ecfd3de4b81924b96807a93465/cpp/CPP14Parser.g4#L124

I believe this is a mistake since the standard only describes 6 unary operators.

OmerSakar avatar Oct 06 '22 13:10 OmerSakar