better tests
[pspp] / src / language / expressions / private.h
index 19cac31be748b1fda85a2c5bae36346d4d5d28a7..235c2ecf207771ec0e8c6500f72cd965ebb7bac3 100644 (file)
@@ -117,6 +117,9 @@ struct expr_node
             struct expr_node **args; /* Arguments. */
             size_t min_valid;   /* Min valid array args to get valid result. */
           };
+
+        /* OP_exprnode. */
+        const struct expr_node *expr_node;
       };
   };
 
@@ -128,7 +131,7 @@ union operation_data
     const struct variable *variable;
     const struct vector *vector;
     struct fmt_spec *format;
-    const struct expr_node *node;
+    const struct expr_node *expr_node;
     int integer;
   };
 
@@ -172,6 +175,8 @@ struct expr_node *expr_allocate_variable (struct expression *e,
                                         const struct variable *);
 struct expr_node *expr_allocate_format (struct expression *e,
                                  const struct fmt_spec *);
+struct expr_node *expr_allocate_expr_node (struct expression *,
+                                           const struct expr_node *);
 struct expr_node *expr_allocate_vector (struct expression *e,
                                       const struct vector *);