bugGNU Octave - Bugs: bug #48810, More verbose continuation marker...

 
 

bug #48810: More verbose continuation marker warning could be helpful

Submitter:  Colin Foster <cfoster>
Submitted:  Wed 17 Aug 2016 09:30:06 PM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Fixed Assigned to:  None
Originator Name:  Colin Foster Open/Closed:  * Closed
Release:  * 4.0.2 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 16 Sep 2016 06:54:04 PM UTC, comment #1: 

I pushed a patch for this


changeset:   22505:7bdc80232cdc
bookmark:    @
tag:         tip
user:        Rik <rik@octave.org>
date:        Fri Sep 16 11:52:25 2016 -0700
summary:     Expand warning for '\' continuation marker to recommend "..." (bug #48810).


Unfortunately, the web interface to the Mercurial repo seems to be down so I can't give an HTML link to the cset.

Fixed, closing report.

Rik <rik5>
Group administrator
Wed 17 Aug 2016 09:30:06 PM UTC, original submission:  

Right now using the "\" as a line-end causes the following warning from libinterp/parse-tree/lex.ll+1186:

static const char *msg = "using continuation marker \\ outside of double quoted strings is deprecated and will be removed in a future version of Octave";

It would be useful if the warning suggested the "correct" continuation marker of "..." as a change to the programmer.

Colin Foster <cfoster>

 

(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 rik5 (Posted a comment)
  • -email is unavailable- added by cfoster (Submitted the item)
  •  

    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 group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-09-16 rik5 StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code