diff dmd/backend/OPER.d @ 140:31c086f76669

dmd.lib now only contains the backend backward references from the backend to the frontend are implemented in ddmd win32_lib.mak is replaced by a patch also fixed VisualD project file predefined versions
author Trass3r
date Tue, 14 Sep 2010 01:54:48 +0200
parents 5c9b78899f5d
children
line wrap: on
line diff
--- a/dmd/backend/OPER.d	Tue Sep 14 01:13:58 2010 +0200
+++ b/dmd/backend/OPER.d	Tue Sep 14 01:54:48 2010 +0200
@@ -324,12 +324,17 @@
 #define _OTboolnop	1
 +/
 
-ubyte OTbinary(OPER op) {
+ubyte OTbinary(OPER op)
+{
 	return (optab1[op] & _OT._OTbinary);
 }
 
+ubyte OTunary(OPER op)
+{
+	return (optab1[op] & _OT._OTunary);
+}
+
 /+
-#define OTunary(op)	(optab1[op]&_OTunary)
 #define OTleaf(op)	(!(optab1[op]&(_OTunary|_OTbinary)))
 #define OTcommut(op)	(optab1[op]&_OTcommut)
 #define OTassoc(op)	(optab1[op]&_OTassoc)