diff options
author | fanf <fanf@FreeBSD.org> | 2003-01-22 15:19:07 +0000 |
---|---|---|
committer | fanf <fanf@FreeBSD.org> | 2003-01-22 15:19:07 +0000 |
commit | 15aba21762db566264aef3f0ac15a65c639f59f7 (patch) | |
tree | f4d50eabb7c8a39a04c494e2cb06331707cf1391 /share/misc | |
parent | d37413d05a024b522e18a7dd43fab8efe2ca81fa (diff) | |
download | FreeBSD-src-15aba21762db566264aef3f0ac15a65c639f59f7.zip FreeBSD-src-15aba21762db566264aef3f0ac15a65c639f59f7.tar.gz |
List all of the assignment operators explicitly, for those who have been
traumatized by perl.
Diffstat (limited to 'share/misc')
-rw-r--r-- | share/misc/operator | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/share/misc/operator b/share/misc/operator index 003c436..b293f31 100644 --- a/share/misc/operator +++ b/share/misc/operator @@ -1,17 +1,19 @@ -Operator Associativity ------------------------------------------------ -() [] -> . left to right -! ~ ++ -- - (type) * & sizeof right to left -* / % left to right -+ - left to right -<< >> left to right -< <= > >= left to right -== != left to right -& left to right -^ left to right -| left to right -&& left to right -|| left to right -?: right to left -= += -= etc. right to left -, left to right +Operator Associativity +----------------------------------------------------- +() [] -> . left to right +! ~ ++ -- - (type) * & sizeof right to left +* / % left to right ++ - left to right +<< >> left to right +< <= > >= left to right +== != left to right +& left to right +^ left to right +| left to right +&& left to right +|| left to right +?: right to left += += -= *= /= %= <<= >>= &= ^= |= right to left +, left to right + +$FreeBSD$ |