summaryrefslogtreecommitdiff
path: root/share/misc/operator
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
commitd6583bb2a13f329cf0332ef2570eb8bb8fc0e39c (patch)
treeece253b876159b39c620e62b6c9b1174642e070e /share/misc/operator
initial import of NetBSD tree
Diffstat (limited to 'share/misc/operator')
-rw-r--r--share/misc/operator17
1 files changed, 17 insertions, 0 deletions
diff --git a/share/misc/operator b/share/misc/operator
new file mode 100644
index 00000000000..003c436d055
--- /dev/null
+++ b/share/misc/operator
@@ -0,0 +1,17 @@
+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