bugPSPP - Bugs: bug #17964, String continuation requires '+'...

 
 

bug #17964: String continuation requires '+' to be on same line

Submitter:  Ben Pfaff <blp>
Submitted:  Tue 10 Oct 2006 05:43:25 PM UTC
   
 
Category:  Syntax Parser Severity:  5 - Average
Status:  Invalid Assigned to:  blp
Open/Closed:  Closed Release:  None
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 15 Dec 2006 06:04:24 AM UTC, comment #3: 

Hey, actually PSPP does the right thing here.  Not a bug at all!

(I must not have looked at the code or tried it before filing the bug.)

Ben Pfaff <blp>
Group administrator
Fri 15 Dec 2006 05:51:39 AM UTC, comment #2: 

Some experimentation shows that, for batch syntax input, a + in column 1 is always interpreted as the start of a new command, not as string continuation.  A + in a later column can continue a string.

For interactive syntax, a + in column 1 has no special significance, so it can be used for string continuation.

Ben Pfaff <blp>
Group administrator
Tue 10 Oct 2006 05:45:47 PM UTC, comment #1: 

Strings can be continued from line to line using syntax like this:
'a' +
'b'
However, we should, but currently don't, accept this similar syntax:
'a'
+ 'b'
There is some question about the interupretation of a '+' in column 1 given the special meaning that normally has.

Ben Pfaff <blp>
Group administrator
Tue 10 Oct 2006 05:43:25 PM UTC, original submission:  


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 (Posted a comment)
  •  

    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
    2006-12-15 blp StatusNone Invalid
        Open/ClosedOpen Closed
    2006-10-10 blp SummaryString continuation String continuation requires '+' to be on same line

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code