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

Submitter:  Ben Pfaff <blp>
Submitted:  Mon 11 May 2009 04:47:46 AM 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 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>
Group administrator
Mon 11 May 2009 04:47:46 AM UTC, original submission:  

With the following syntax:


DATA LIST FREE FILE='tda.txt' TABLE / rubrique (A18) value (A32).
LIST.


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


S80.G01.00.003.006,'XVXXXX XX X'XXXXSXRXX'
123456789ABCDE,'1'


PSPP gives the following error:


TDA.TXT:2: warning: LIST: Partial case discarded.  The first variable missing
        was value.


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

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

    Date Changed by Updated Field Previous Value => Replaced by
    2012-11-25 blp StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2011-05-14 blp ReleaseNone Before 0.8.0
    2009-05-11 blp Carbon-Copy- Added pascal barbedor <pbarbedor@gmail.com>

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code