--- - branch: MAIN date: Thu Jul 15 17:20:58 UTC 2021 files: - new: '1.2' old: '1.1' path: src/tests/usr.bin/xlint/lint1/expr_precedence.c pathrev: src/tests/usr.bin/xlint/lint1/expr_precedence.c@1.2 type: modified - new: '1.2' old: '1.1' path: src/tests/usr.bin/xlint/lint1/expr_precedence.exp pathrev: src/tests/usr.bin/xlint/lint1/expr_precedence.exp@1.2 type: modified - new: '1.325' old: '1.324' path: src/usr.bin/xlint/lint1/cgram.y pathrev: src/usr.bin/xlint/lint1/cgram.y@1.325 type: modified id: 20210715T172058Z.bcb87d7937f52105e2ad3f095fadc684dbce5667 log: | lint: in the grammar, replace %prec with explicit rules This way, in the arguments of __attribute__, where only constant expressions are expected, a '=' leads to a syntax error. Previously, this was not detected. No noticeable change in practice since these cases are already handled by the compilers. module: src subject: 'CVS commit: src' unixtime: '1626369658' user: rillig