Prohibit LAG following TEMPORARY. This both matches SPSS behavior and
[pspp-builds.git] / src / language / expressions / private.h
index 9e00bdf41b02574e44064e2244c9bc79e9212751..0d81c22cdbad8070ee0014f06ebf131a3522579d 100644 (file)
@@ -58,7 +58,11 @@ enum operation_flags
     OPF_UNIMPLEMENTED = 020,
 
     /* If set, this operation is a PSPP extension. */
-    OPF_EXTENSION = 040
+    OPF_EXTENSION = 040,
+
+    /* If set, this operation may not occur after TEMPORARY.
+       (Currently this applies only to LAG.) */
+    OPF_PERM_ONLY = 0100
   };
 
 #define EXPR_ARG_MAX 4