changeset 742:aba7dde79a04

Add associativity types enum.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 22 Apr 2013 17:00:01 +0300
parents 9efcdbe5a299
children b136ddc4070b 2726d91e3409
files dmeval.h
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dmeval.h	Mon Apr 22 09:40:44 2013 +0300
+++ b/dmeval.h	Mon Apr 22 17:00:01 2013 +0300
@@ -42,6 +42,14 @@
 
     // Total number of operators
     OP_NOPERS
+} DMOper;
+
+
+enum
+{
+    OT_LEFT,      // Left-associative
+    OT_RIGHT,     // Right-associative
+    OT_UNARY,
 } DMOperType;