Now
MAIN commitmail json YAML
src/tests/usr.bin/xlint/lint1/expr_precedence.c@1.2
/
diff
/
nxr@1.2
src/tests/usr.bin/xlint/lint1/expr_precedence.exp@1.2 / diff / nxr@1.2
src/usr.bin/xlint/lint1/cgram.y@1.325 / diff / nxr@1.325
src/tests/usr.bin/xlint/lint1/expr_precedence.exp@1.2 / diff / nxr@1.2
src/usr.bin/xlint/lint1/cgram.y@1.325 / diff / nxr@1.325
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.
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.