Prohibit LAG following TEMPORARY. This both matches SPSS behavior and
[pspp-builds.git] / src / language / expressions / private.h
index 85b82587f5f895e4f0d8bb4eed29d1cb61b67ce5..0d81c22cdbad8070ee0014f06ebf131a3522579d 100644 (file)
@@ -22,8 +22,8 @@
 
 #include <assert.h>
 #include <stddef.h>
-#include "format.h"
-#include "str.h"
+#include <data/format.h>
+#include <libpspp/str.h>
 
 #include "public.h"
 #include "operations.h"
@@ -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