bugPSPP - Bugs: bug #33419, Poor error recovery.


bug #33419: Poor error recovery.

Submitted by:  John Darrington <jmd>
Submitted on:  Sat 28 May 2011 06:09:04 PM UTC  
Category:  Syntax Parser Severity:  5 - Average
Status:  Fixed Assigned to:  None
Open/Closed:  Closed Release:  Before 0.8.0
Effort:  0.00

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 24 Nov 2012 10:16:21 PM UTC, comment #1:

I pushed a fix for this bug as commit 55418b678b8 "INPUT PROGRAM: Don't break out of INPUT PROGRAM on interactive error.".

Ben Pfaff <blp>
Project Administrator
Sat 28 May 2011 06:09:04 PM UTC, original submission:

If I start pspp in interactive mode and type the lines:

PSPP> input program.
PSPP> loop #i = 1 to 10.
PSPP> compute i = isdk.

(Note that the last line is erroneous.)
An error is correctly flagged.

However, when I then type in the correct line
PSPP> compute x = #i.

I get the error message:
error: LOOP without END LOOP.

It doesn't seem to be possible to continue. I have to abort and start over.

John Darrington <jmd>
Project Administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by blp (Posted a comment)
  • -email is unavailable- added by jmd (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-11-24 blp StatusNone => Fixed
        Open/ClosedOpen => Closed
    2012-02-23 jmd ReleaseNone => Before 0.8.0

    Back to the top

    Powered by Savane 3.4