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

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

PSPP-BUG: [bug #17422] COMPUTE creates variable only after command parsi


From: Ben Pfaff
Subject: PSPP-BUG: [bug #17422] COMPUTE creates variable only after command parsing finished
Date: Sun, 13 Aug 2006 18:27:44 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060406 Firefox/1.5.0.4 (Debian-1.5.dfsg+1.5.0.4-1)

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=17422>

                 Summary: COMPUTE creates variable only after command parsing
finished
                 Project: PSPP
            Submitted by: blp
            Submitted on: Sunday 08/13/06 at 18:27
                Category: Syntax Parser
                Severity: 5 - Average
                  Status: None
             Assigned to: None
             Open/Closed: Open
                 Release: None
                  Effort: 0.00

    _______________________________________________________

Details:

The following syntax:

DATA LIST /ITEM 1-3.
COMPUTE SUM=SUM+ITEM.
PRINT /ITEM SUM.
LEAVE SUM
BEGIN DATA.
123
404
555
999
END DATA.

yields this error:

test.pspp:2: error: COMPUTE: Unknown identifier SUM.

because the variable SUM is only created after the COMPUTE command has been
fully parsed, but it should succeed.



    _______________________________________________________

Carbon-Copy List:

CC Address                          | Comment
------------------------------------+-----------------------------
josephsaintpierre<address@hidden> | original reporter




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=17422>

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





reply via email to

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