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

 
 

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

Submitted by:  Ben Pfaff <blp>
Submitted on:  Tue 10 Oct 2006 05:43:25 PM UTC  
 
Category: Syntax ParserSeverity: 5 - Average
Status: InvalidAssigned to: Ben Pfaff <blp>
Open/Closed: ClosedRelease: None
Effort: 0.00

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
Tue 10 Oct 2006 05:43:25 PM UTC, original submission:
Ben Pfaff <blp>
Project AdministratorIn charge of this item.

 

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

    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
    Fri 15 Dec 2006 06:04:24 AM UTCblpStatusNone=>Invalid
      Open/ClosedOpen=>Closed
    Tue 10 Oct 2006 05:45:47 PM UTCblpSummaryString continuation =>String continuation requires '+' to be on same line

    Back to the top


    Powered by Savane 3.1-cleanup1