bugGNU Octave - Bugs: bug #41415, '...' mistaken as line...

 
 

bug #41415: '...' mistaken as line continuation in double quoted string with % or #

Submitted by:  Markus Appel <mappel>
Submitted on:  Fri 31 Jan 2014 06:32:34 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Regression
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: 3.8.0Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 03 Feb 2014 05:02:49 PM UTC, comment #2:

I applied your changeset with a modified commit message:

http://hg.savannah.gnu.org/hgweb/octave/rev/4d2e15abe5e7

Thanks.

John W. Eaton <jwe>
Project Administrator
Fri 31 Jan 2014 11:18:14 PM UTC, comment #1:

The attached patch should fix this issue and restores the behaviour of octave 3.6.x.

(file #30431)

Stefan Mahr <dac922>
Fri 31 Jan 2014 06:32:34 PM UTC, original submission:

I had some double quoted strings in scripts containing "... %d" for use with sprintf, but since 3.8.0 three dots followed by % or # are mistaken as line continuation followed by a comment:

dev behaves the same, except it doesn't give the warning.

Markus Appel <mappel>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #30431:  line_continuation.patch added by dac922 (2KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by dac922 (Updated the item)
  • -unavailable- added by mappel (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 project members 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
    Mon 03 Feb 2014 05:02:49 PM UTCjweStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Fri 31 Jan 2014 11:18:14 PM UTCdac922Attached File-=>Added line_continuation.patch, #30431

    Back to the top


    Powered by Savane 3.1-cleanup1