]> Savannah Git Hosting - gnulib.git/commit
intprops: add parentheses for when OP has precedence lower than "-"
authorJim Meyering <meyering@fb.com>
Tue, 3 Nov 2015 16:32:27 +0000 (08:32 -0800)
committerJim Meyering <meyering@fb.com>
Tue, 3 Nov 2015 17:03:05 +0000 (09:03 -0800)
commit24fb386f25ce0800577ac64f2d2303822e9e615c
treecfaf3d4917116c2259711580363feb2e0f6070e7
parent77d702067d8bf61f96f2c4ef451a09651b27628b
intprops: add parentheses for when OP has precedence lower than "-"

* lib/intprops.h (_GL_INT_OP_WRAPV_VIA_UNSIGNED): In "a OP b - c",
"a OP b" must be parenthesized for when OP is like "<<", which has
lower precedence than the following "-". Reported by Pádraig Brady.
ChangeLog
lib/intprops.h