changeset 444:3f3bba82e2e0

Why doesn't iso646 "#define begin {" and "#define end }" while it's at it?
author Rob Landley <rob@landley.net>
date Mon, 07 May 2007 12:44:33 -0400
parents 640e11dd53d7
children 085680cd701d
files include/iso646.h
diffstat 1 files changed, 20 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/include/iso646.h	Mon May 07 12:44:33 2007 -0400
@@ -0,0 +1,20 @@
+#ifndef _ISO646_H
+#define _ISO646_H
+
+/* ISOC99 "Alternative spellings", section 7.9 */
+
+/* Using this file means you are a bad programmer. */
+
+#define and &&
+#define and_eq &=
+#define bitand &
+#define bitor |
+#define compl ~
+#define not !
+#define not_eq !=
+#define or ||
+#define or_eq |=
+#define xor ^
+#define xor_eq ^=
+
+#endif /* _ISO646_H */