comparison include/iso646.h @ 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
children
comparison
equal deleted inserted replaced
443:640e11dd53d7 444:3f3bba82e2e0
1 #ifndef _ISO646_H
2 #define _ISO646_H
3
4 /* ISOC99 "Alternative spellings", section 7.9 */
5
6 /* Using this file means you are a bad programmer. */
7
8 #define and &&
9 #define and_eq &=
10 #define bitand &
11 #define bitor |
12 #define compl ~
13 #define not !
14 #define not_eq !=
15 #define or ||
16 #define or_eq |=
17 #define xor ^
18 #define xor_eq ^=
19
20 #endif /* _ISO646_H */