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 ParserSeverity: 5 - Average
Status: FixedAssigned to: None
Open/Closed: ClosedRelease: Before 0.8.0
Effort: 0.00

Add a New Comment (Rich MarkupRich 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 24 Nov 2012 10:16:21 PM UTCblpStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Thu 23 Feb 2012 07:19:01 AM UTCjmdReleaseNone=>Before 0.8.0

    Back to the top


    Powered by Savane 3.1-cleanup