--- - branch: MAIN date: Sun Jul 11 17:38:55 UTC 2021 files: - new: '1.308' old: '1.307' path: src/usr.bin/xlint/lint1/cgram.y pathrev: src/usr.bin/xlint/lint1/cgram.y@1.308 type: modified id: 20210711T173855Z.478cb085bfc946f2141106b2781b296e26140618 log: | lint: remove shift/reduce conflict for sizeof According to the grammar, the expression 'sizeof(int)x' was ambiguous. Since 'sizeof(int)' is a valid term, that could have been reduced, which would have resulted in a parse error when trying to parse 'x'. Now 'sizeof' takes a unary_expression instead of a term. No functional change. module: src subject: 'CVS commit: src/usr.bin/xlint/lint1' unixtime: '1626025135' user: rillig