pspp-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pspp-cvs] Changes to pspp/src/expressions/parse.c


From: John Darrington
Subject: [Pspp-cvs] Changes to pspp/src/expressions/parse.c
Date: Thu, 28 Apr 2005 21:29:32 -0400

Index: pspp/src/expressions/parse.c
diff -u pspp/src/expressions/parse.c:1.7 pspp/src/expressions/parse.c:1.8
--- pspp/src/expressions/parse.c:1.7    Fri Apr 29 01:02:16 2005
+++ pspp/src/expressions/parse.c        Fri Apr 29 01:29:31 2005
@@ -1204,7 +1204,9 @@
   n = expr_allocate_composite (e, f - operations, args, arg_cnt);
   n->composite.min_valid = min_valid != -1 ? min_valid : f->array_min_elems; 
 
-  if (n->type == OP_LAG_Vnn || n->type == OP_LAG_Vsn) 
+  if (n->type == OP_LAG_Vn || n->type == OP_LAG_Vs)
+      n_lag = 1;
+  else if (n->type == OP_LAG_Vnn || n->type == OP_LAG_Vsn)
     {
       int n_before;
       assert (n->composite.arg_cnt == 2);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]