Searched hist:254806 (Results 1 - 2 of 2) sorted by relevance
/freebsd-11.0-release/bin/sh/ | ||
H A D | arith_yylex.c | diff 254806 Sat Aug 24 20:07:45 MDT 2013 jilles sh: Reject ++ and -- in arithmetic. POSIX does not require ++ and -- in arithmetic. It is probably more useful to reject them than to treat ++x and --x as x silently. Note that the behaviour of increment and decrement can be obtained via (x+=1), ((x+=1)-1), (x-=1) and ((x-=1)+1). PR: bin/176444 |
/freebsd-11.0-release/bin/sh/tests/expansion/ | ||
H A D | arith13.0 | 254806 Sat Aug 24 20:07:45 MDT 2013 jilles sh: Reject ++ and -- in arithmetic. POSIX does not require ++ and -- in arithmetic. It is probably more useful to reject them than to treat ++x and --x as x silently. Note that the behaviour of increment and decrement can be obtained via (x+=1), ((x+=1)-1), (x-=1) and ((x-=1)+1). PR: bin/176444 |
Completed in 57 milliseconds