projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prohibit LAG following TEMPORARY. This both matches SPSS behavior and
[pspp-builds.git]
/
src
/
language
/
expressions
/
operations.def
diff --git
a/src/language/expressions/operations.def
b/src/language/expressions/operations.def
index bd5af76c4e68ad6d35e067f59f518d20220b7f73..95ac1e0b53ab2c14fdf86c8d4412e840f7335283 100644
(file)
--- a/
src/language/expressions/operations.def
+++ b/
src/language/expressions/operations.def
@@
-956,7
+956,7
@@
no_opt string operator STR_VAR ()
return s;
}
return s;
}
-no_opt function LAG (num_var v, pos_int n_before)
+no_opt
perm_only
function LAG (num_var v, pos_int n_before)
{
struct ccase *c = lagged_case (n_before);
if (c != NULL)
{
struct ccase *c = lagged_case (n_before);
if (c != NULL)
@@
-968,7
+968,7
@@
no_opt function LAG (num_var v, pos_int n_before)
return SYSMIS;
}
return SYSMIS;
}
-no_opt function LAG (num_var v)
+no_opt
perm_only
function LAG (num_var v)
{
struct ccase *c = lagged_case (1);
if (c != NULL)
{
struct ccase *c = lagged_case (1);
if (c != NULL)
@@
-980,7
+980,7
@@
no_opt function LAG (num_var v)
return SYSMIS;
}
return SYSMIS;
}
-no_opt string function LAG (str_var v, pos_int n_before)
+no_opt
perm_only
string function LAG (str_var v, pos_int n_before)
expression e;
{
struct ccase *c = lagged_case (n_before);
expression e;
{
struct ccase *c = lagged_case (n_before);
@@
-990,7
+990,7
@@
no_opt string function LAG (str_var v, pos_int n_before)
return empty_string;
}
return empty_string;
}
-no_opt string function LAG (str_var v)
+no_opt
perm_only
string function LAG (str_var v)
expression e;
{
struct ccase *c = lagged_case (1);
expression e;
{
struct ccase *c = lagged_case (1);