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

 
 

bug #33419: Poor error recovery.

Submitter:  John Darrington <jmd>
Submitted:  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
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    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.13-4448.
    Corresponding source code