bugPSPP - Bugs: bug #26522, DATA LIST FREE doesn't warn about...

 
 

bug #26522: DATA LIST FREE doesn't warn about unclosed quoted string at end of line

Submitted by:  Ben Pfaff <blp>
Submitted on:  Mon 11 May 2009 04:47:46 AM 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 09:49:21 PM UTC, comment #1:

I pushed a fix as commit 897c1977501 "DATA LIST FREE: Warn when a quoted string is not followed by a delimiter."

Ben Pfaff <blp>
Project Administrator
Mon 11 May 2009 04:47:46 AM UTC, original submission:

With the following syntax:

and the following tda.txt (note the 3 single quotes on line 1):

PSPP gives the following error:

It seems that it would be better to warn about the unclosed quoted string on line 1, instead of the mismatched fields at the end of the file.

Thanks to pascal barbedor <pbarbedor@gmail.com> for reporting this bug.

Ben Pfaff <blp>
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 (Submitted the item)
  • -unavailable- added by blp (bug reporter)
  •  

    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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 25 Nov 2012 04:02:13 AM UTCblpStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Sat 14 May 2011 04:47:15 AM UTCblpReleaseNone=>Before 0.8.0
    Mon 11 May 2009 04:47:46 AM UTCblpCarbon-Copy-=>Added pascal barbedor

    Back to the top


    Powered by Savane 3.1-cleanup