bug-gnu-pspp
[Top][All Lists]
Advanced

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

PSPP-BUG: [bug #15702] DO REPEAT command should support multiple variabl


From: Ben Pfaff
Subject: PSPP-BUG: [bug #15702] DO REPEAT command should support multiple variable lists.
Date: Sun, 03 Dec 2006 00:52:23 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) Gecko/20061024 Iceweasel/2.0 (Debian-2.0+dfsg-1)

Follow-up Comment #2, bug #15702 (project pspp):

This bug was seemingly fixed long ago, because there is a test in the source
tree that checks that a command similar to the example below works.  The
example below has a couple of problems: "h" has 
one more substitution than "x", which is not allowed, and "t" is undeclared
(should probably be "x").

However, a new bug was introduced by the recent change that broke up the getl
code.  This code adds a getl_interface to the repeat code but doesn't supply
->name or ->location member functions, thus the following small change to the
example dumps core because it tries to issue an error message inside DO REPEAT
(due to "t" not being a valid variable name):

INPUT PROGRAM.
DO REPEAT h = h0 h1 h2 h3 / x = 0 1 2 3 .
COMPUTE h = t.
END REPEAT. 
END INP PRO.

I have a patch almost ready that fixes this and does a good bit of general
cleanup to DO REPEAT.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?15702>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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